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.
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.