Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
nauticacom
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
nauticacom
5y ago
This isn't true; Ruby has no set literal. Sets are provided by a default gem but there is no built-in syntax for them.
2.
▲
by
nauticacom
5y ago
I understand repr for debugging (though imo it's a deficiency of the language that custom objects don't have a repr which lists their attributes), but eq is a property of the domain itself; two objects are only equal if it makes s
3.
▲
by
nauticacom
5y ago
I really, genuinely don't get the appeal. I don't follow the "less code = better" ideology so maybe that's a contributor but I really don't see how this: class Person: def __init__(self, name, age
4.
▲
by
nauticacom
5y ago
I've never understood the appeal of these "define struct-like-object" libraries (in any language; I've never understood using the standard library's "Struct" in Ruby). My preferred solution for addressing
5.
▲
by
nauticacom
5y ago
I've genuinely never understood this one, especially as a flat-out error instead of a warning. When could not using a variable ever be a bug?
6.
▲
by
nauticacom
5y ago
I must be the only person on the planet who likes AppleScript :)
7.
▲
by
nauticacom
5y ago
I definitely understand the argument that different human languages have different semantic patterns. The only non-English language I know (reading, not speaking) is classical Latin, which likes to have nouns and verbs at the opposite ends
8.
▲
by
nauticacom
5y ago
Just took a quick look at Rebol and it looks interesting! I love languages that push the boundary of what they allow programs to "naturally" express
9.
▲
by
nauticacom
5y ago
I don't program in Ruby but every time I look at it I see something different depending on who wrote the code and what their personal style is I'd say this is a plus, at least in certain dimensions. One of the best descr
10.
▲
by
nauticacom
5y ago
Snippets like this: account deposit: 100 dollars. are why I love Smalltalk (and its followers, e.g. Ruby). So much expressiveness, reading like a sentence. And Smalltalk even had the ingenuity to use period as a statement terminato
11.
▲
by
nauticacom
5y ago
I don't enjoy writing Rust but its perspective on this is at least internally consistent. What are the alternatives for managing cyclic, linked data structures in other languages? In languages with manual memory management you can do i
12.
▲
by
nauticacom
5y ago
I understand that, but it's not as if they've really changed. They always used Rails to advertise Basecamp and vice-versa.
13.
▲
by
nauticacom
5y ago
While I think the new site certainly looks appealing and includes a lot more helpful information than before, there's something about the old playful, hand-drawn design that felt more like it embodied the ethos of Rails.
14.
▲
by
nauticacom
5y ago
The last point would be amazing, imo. It's unfortunate that, because of history, commands accept and parse arbitrary strings as input instead of formally specifying it like a function signature + docblock. If I could rewrite the univer
15.
▲
by
nauticacom
5y ago
I've been thinking of throwing FreeBSD on an old Thinkpad and trying to use it normally. Right now I run Debian, with most of my work happening in Firefox or the shell. Is there anything you didn't even think about that ended up b
16.
▲
by
nauticacom
5y ago
Hey, don't be so pessimistic. We'll probably have another serialization protocol by then.
17.
▲
by
nauticacom
5y ago
Ah, I understand now. That's a fair point! I agree that the excellent Go tooling is one of its strengths.
18.
▲
by
nauticacom
5y ago
Right, but the entire point of my comment was that "takes up a significant part of the language spec, compiler, and VM" is not a good approximation of complexity. It can be related, but it is not necessarily true that something
19.
▲
by
nauticacom
5y ago
I can hold the whole language spec in my head while I'm programming People love to say this about Go, but it's not something that, like, actually matters (and I doubt it's literally true). A language can be reason
20.
▲
by
nauticacom
5y ago
I don't know what kind of stuff you all work on, but for the kind of things I work on if the interface isn't specifically designed and laid out after doing user research on the problem space, the whole project is a no-go, and is c
21.
▲
by
nauticacom
5y ago
I think you're confusing look with function. Two things need not look the same to "adhere to assumptions and pattern recognition," but rather need to function the same and have the same underlying conceptual language. If th
22.
▲
by
nauticacom
5y ago
> it's fun for designers to make up their own UIs It's not just "fun," it's necessary to create an optimal user experience for every particular use-case. Have you ever played two video games which have the same U
23.
▲
by
nauticacom
5y ago
To me, "takes up a significant part of the language spec, compiler, and VM" isn't a meaningful reason to exclude something from a language, unless it's a hobby project. The job of languages, imo, is to provide tools/
24.
▲
by
nauticacom
5y ago
That's true, I didn't even think of that! That makes it even more unfortunate
25.
▲
by
nauticacom
5y ago
True, I was being a bit hyperbolic with "massive corp" :). Employee size isn't everything in determining how "big" an organization is, though. I really just meant that it, personally, makes me feel better to use som
26.
▲
by
nauticacom
5y ago
Frameworks like this are nice if a) you want your site to look exactly like every other site which uses this framework (rare) and b) every use of an element is for the exact same purpose (also rare). I suppose if you're throwing togeth
27.
▲
by
nauticacom
5y ago
Swift is an incredibly appealing language on so many fronts. It has an expressive and fairly robust type system, an excellent suite of built-in libraries, and moreso than many other languages I've used cares deeply about syntactical e
28.
▲
by
nauticacom
5y ago
Drivers, customizations on top of Gnome (if you prefer them), App Store, flatpak instead of snap. Plus made by an indie company rather than some massive corp if you're into that sort of thing.
29.
▲
by
nauticacom
5y ago
Probably were thinking of 'st', or some other project under the umbrella of software that certainly sucks more .
30.
▲
by
nauticacom
5y ago
The thing I like about passing objects around is that the state inside the object is opaque :). Thus when changes to the internal details of Person happen, the behavior of which is depended on by Inbox and Message, as long as I have prope
More ›