4 ms·
No. In every large system I've ever seen, there's large dynamic components. Avoiding existing dynamic languages entirely simply means building your own ad-hoc
by ken 7y ago
No. In every large system I've ever seen, there's large dynamic components. Avoiding existing dynamic languages entirely simply means building your own ad-hoc one, which is neither more robust nor more efficient (at development time or at run time). You're trading "known, working dynamic system" for "unknown, homemade dynamic system". (In other words, Greenspun's Law holds true.) There isn't a third choice where users simply stop wanting features which are easily implemented in dynamic fashion.
Every web browser today includes lots of modules written in JavaScript. Every web browser today also has lots of bugs. But nobody believes that rewriting all their JS in C++ would improve the situation. For all the complaints I've ever had about Firefox/Safari/Chrome, "I got a JS TypeError" has somehow never once come up.
- scarface74 7y agoAnd how many ignored JS errors do you see when you look on the web console? Don’t you want a little more robustness on the backend? I’ve never in 30 years of development needed to make an adhoc dynamic language for a large system. I use Python for simple scripts and JS because you have to for the browser.