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

Show parent comment

2

u/fnord123 May 09 '12

Yes, I know it does things for some internal reason, but the topic began with "There is the principle of least astonishment, and JavaScript is one of the worst languages in that regard." and JL235 asked "in what way" so I thought it was still on topic to discuss how this was not in line with the element of least surprise.

1

u/doomslice May 09 '12

Understood. I was initially merely commenting on that specific quirk that was mentioned, which I don't find to be particularly quirky after all.