|
|
|
|
|
by temporama1
2151 days ago
|
|
JavaScript is not the problem. Computers are AMAZINGLY fast, EVEN running JavaScript. Most of us have forgotten how fast computers actually are. The problem is classes calling functions calling functions calling libraries calling libraries.....etc etc Just look at the depth of a typical stack trace when an error is thrown. It's crazy. This problem is not specific to JavaScript. Just look at your average Spring Boot webapp - hundreds of thousands of lines of code, often to do very simple things. It's possible to program sanely, and have your program run very fast. Even in JavaScript. |
|
APIs are going to be used as they're written, and as documented. So as much as there is a problem with people choosing to do things wrong, I think the course correction of those people is a strong enough force. At least in comparison to when the design incentivizes bad performance. There's basically nothing but complaining to the sky when the 'right' way is actually terrible in practice.