Hacker News new | past | comments | ask | show | jobs | submit login

> This blog post comes from a place of judging what is "better" by some arbitrary abstract metrics

Or you could consider the possibility that they aren't arbitrary at all. Perhaps these properties are well motivated by, for instance equational reasoning, which is a cornerstone of extensible and maintainable programming.

> Promises are meant to semantically (and with async/await, syntactically) resemble a function call as closely as possible, while minimizing confusing errors

Why? What purpose does that ultimately serve given we already have functions? The whole point of an abstraction is to provide sophisticated semantics to do an important job you would otherwise have to do by hand.




> equational reasoning, which is a cornerstone of extensible and maintainable programming

What are the other cornerstones?


Abstraction. Composition. Probably a couple of others.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: