Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
codedokode
on Feb 15, 2018
|
parent
|
context
|
favorite
| on:
Promises are not neutral enough
I don't think it is beautiful. This fills program with lots of unnecessary `if`s for checking results of each call. Also, it prevents one from chaining functions like a(b(x)).
fiatjaf
on Feb 15, 2018
[–]
Yeah, you're right. Not beautiful and prevents chaining. But works like a charm, don't you think?
Chaining functions is for functional people. Go is proudly imperative.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: