Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
rld
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
rld
12y ago
It's not duplicate syntax. `func` adds a named function to the current environment, and `->` only describes an anonymous function. It's the equivalent of `function foo(...)` vs `function(...)` in JS.
2.
▲
by
rld
12y ago
Just out of curiosity, which libraries or frameworks do you feel abuse implicits?
3.
▲
by
rld
12y ago
No, it applies for local variables as well: http://stackoverflow.com/questions/7423028/java-local-variab... I still don't understand why you consider having a compiler-enforced restriction on mutation worse t
4.
▲
by
rld
12y ago
At least in Java, non-final variables can't be used inside anonymous inner classes. Also, it's easier for me as a developer to read "final" and know that (referential) immutability is guaranteed by the compiler instead o
5.
▲
by
rld
12y ago
What do you mean by "more aesthetic"? As in syntax?
6.
▲
by
rld
12y ago
I thought it was worth mentioning as a separate point; just saying "you can pattern match" doesn't say much, when it's actually a key feature to guarantee certain correctness in a program. Pattern matching offers mainly
7.
▲
by
rld
12y ago
Not mentioned here: pattern matching. It certainly goes a long way to ensure all cases are being handled, since the compiler lets you know when your patterns are non-exhaustive.
8.
▲
by
rld
12y ago
The author never mentions artistic merit, presumably because it's a result of his premise. If you can't cheat at art, it's because there's nothing to cheat for, so there's no such thing as artistic merit.
9.
▲
by
rld
13y ago
Usually this is not what you want to separate interfaces from implementations. For example, this: List<T> l = new ArrayList<T>(); is preferred to this: ArrayList<T> l = new ArrayList<T>(); Of course
10.
▲
by
rld
13y ago
I couldn't imagine myself doing that somewhere with little room, like a crowded elevator or subway. The functionality is nice, but it looks utterly ridiculous.
11.
▲
by
rld
13y ago
From the original announcement: > If you are a current Firefox Sync user, we’ll continue to sync your data between your devices. So I guess the old option will still be maintained, at least during the testing phase.
12.
▲
by
rld
13y ago
It's not the same to be observed by some invisible or unknown entity than to be observed directly by a person. Someone pointing a digital camera at a person is usually more disturbing than a CCTV camera doing the same thing. Also, Goog
13.
▲
by
rld
13y ago
At 1:55 he says "FRID'd", he meant RFID'd, right?
14.
▲
by
rld
13y ago
Argentine here, CFK's way of speaking is a reflection of insanity, not Argentine culture. True, we take many things lightly but CFK goes way over the top, especially for a President. In any case, the deep-rooted corruption of her admin
15.
▲
by
rld
13y ago
> Budding spies and others of a paranoid nature can buy a couple of those SIM cards to swap in and out of their (unlocked) phones for $10 in any 7-11, no registration, no questions asked (try doing that in India or Argentina!) Argentine
16.
▲
by
rld
14y ago
Hardware isn't dead. Sony just stopped using it a selling point because the average consumer doesn't care what the hardware is, just what the device can do.