Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
satyr
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
satyr
14y ago
Try: switch a when b , c , d e()
2.
▲
by
satyr
15y ago
And when do you ever want to leak local variables to an outer scope? Never. Not to mention that loop counters are no different than other `var`iables in JS.
3.
▲
by
satyr
15y ago
The inconsistency doesn't stop there; `for` variables are specialcased: bar = -> alert "Holy crap cheese is awesome!" foo = -> for bar of bars console.log bar return ↓ var bar, foo;
4.
▲
by
satyr
15y ago
> I suggest it's an error. So we'd have to give up: array .map (x) -> f x .reduce (a, b) -> g a, b
5.
▲
by
satyr
15y ago
There's no outdented continued call in current CoffeeScript; an outdented line always makes OUTDENT. (Or are you suggesting to allow such code? I personally see no value in it.)
6.
▲
by
satyr
15y ago
I believe you mean: foo bar; bash: something; thenBlitz. http://www.inf.ufsc.br/poo/smalltalk/ibm/tutorial/chap3.html...
7.
▲
by
satyr
16y ago
# Fix things CS goofs. # Add things CS lacks.