HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by saralily | Hacker News Reader
Parent
Full thread
saralily
·
This makes me miss CoffeeScript. Ah, well.
View on HN
city41
·
Only thing I still miss is noop functions are two characters. Everything else I liked is in JS now that nullish coalescing landed.
recursive
·
`_=>_` is technically more than two, but not by much.
hombre_fatal
·
Identity function is more confusing than just ()=>{} which is obviously noop because it doesn't return the input.
recursive
·
If you don't provide an argument, it will use undefined, which is the same thing yours returns. Maybe it's more clear, but it's about even for me.
Reply on news.ycombinator.com