Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
jashkenas
on May 4, 2012
|
parent
|
context
|
favorite
| on:
Javascript - Beautiful Validation, No Extras.
One programmer's readability is another programmer's "[_ (_ :guard #(< % 3)) _ _]" ;)
mattdeboard
on May 4, 2012
|
next
[–]
I agree with swannodette that the CoffeeScript version is not better than the JS implementation but for a different reason. In my experience code brittleness is directly correlated to the number of "else if" conditions in a single block.
swannodette
on May 4, 2012
|
prev
[–]
One programmer's readability is another programmer's
o 'PARAM_START ParamList PARAM_END FuncGlyph Block', -> new Code $2, $5, $4
;)
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: