|
|
|
|
|
by hnbad
1208 days ago
|
|
> Even with async/await it's still single-threaded. That doesn't mean anything. V8 is single-threaded but Node.js I/O is non-blocking. The reason Node became popular in the first place is that companies started adopting it to fill the gaps in their existing infrastructure (e.g. Java) to offer "realtime" (i.e. web sockets or its experimental equivalents) communication. > IMO async/await is error-prone and isn't an ideal programming model. What's the point of unsubstantiated statements like that (btw "x is error-prone" is an empirical claim, so prefixing it with "IMO" just means "I can't back this up and don't care if it's true") other than stirring up pointless language rivalries? Just acknowledge that your off-hand comment about "callback hell" was anachronistic and don't try to come up with excuses to justify your preferences. I think Elixir is neat and hope it can see sufficient adoption for me to justify getting invested in it but that doesn't justify poopooing other languages, especially ones you admit not to have up-to-date knowledge about. |
|
That's the problem with Software Engineering in general.
> "IMO" just means "I can't back this up and don't care if it's true")
The research study that will either back or refute my claim would be prohibitively expensive and therefore impractical.