r/programming • • May 09 '12

JavaScript: The good parts

http://blog.movereem.nl/images/javascript-the-good-parts-the-definitive-guide.jpg
645 Upvotes

159 comments sorted by

View all comments

21

u/[deleted] May 09 '12

Old, and wouldn't this be true of every language?

9

u/yogthos May 09 '12

There is the principle of least astonishment, and JavaScript is one of the worst languages in that regard.

6

u/Amadan May 09 '12

PHP is worse. I can use JS and be perfectly happy (although I do prefer Ruby). Sure some things are a bit wordy (hello, Mr. hasOwnProperty), but it's really not too bad. PHP on the other hand is a blight of bugs and bad surprises.

5

u/yogthos May 09 '12

PHP is pretty much rock bottom when it comes to retaining your sanity. :)