3 ms·
Perl evolved from bash so it has a lot of cruft but you can learn good practices pretty easily. JavaScript has no excuse.
by tootie 9y ago
Perl evolved from bash so it has a lot of cruft but you can learn good practices pretty easily. JavaScript has no excuse.
- etatoby 9y agoJavaScript was written in 10 days in 1995 by Brendan Eich with the purpose of being a «glue language that was easy to use by Web designers and part-time programmers to assemble components such as images and plugins, where the code could be written directly in the Web page markup.» His first choice would have been inspired by Scheme, but unfortunately Netscape forced him into a Java-like syntax for marketing purposes. https://en.wikipedia.org/wiki/JavaScript https://en.wikipedia.org/wiki/JavaScript The fact that it has managed to evolve into a decent, if poorly typed language, with some outstanding implementations, while maintaining 99% compatibility with "onmouseover" scripts from the 90s is a testament to its sound design.