Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Easier to write. But there is a case to be made that code which can be understood without understanding somewhat esoteric language internals is superior.


I guess "esoteric" is in the eye of the beholder, but Promises seem a lot easier than the old callback style we used to use for asynchronous operations.


Is code wrote for a broken server.

It makes no sense even with common js idiom.


Ok, but that's not relevant to my point.

Plus, in real life you do need to interact with broken servers – that doesn't mean you should make your code less readable as well.




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

Search: