MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/tejbc/javascript_the_good_parts/c4lz2db/?context=3
r/programming • u/sheldonpooper • May 09 '12
159 comments sorted by
View all comments
21
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. :)
9
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. :)
6
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.
hasOwnProperty
5 u/yogthos May 09 '12 PHP is pretty much rock bottom when it comes to retaining your sanity. :)
5
PHP is pretty much rock bottom when it comes to retaining your sanity. :)
21
u/[deleted] May 09 '12
Old, and wouldn't this be true of every language?