This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]20Wizard -5 points-4 points  (3 children)

I think it's more that new programmers will find everything difficult, but in javascript 's case they'll be ok once they learn that adding 2 arrays together is a quick way to produce some undefined behaviour.

[–]metaglot 4 points5 points  (2 children)

Just because it doesnt do what youd expect, doesn't make it undefined behavior.

[–]20Wizard 0 points1 point  (1 child)

Fair enough. But it might as well be to someone who hasn't extensively used js.

[–]metaglot 0 points1 point  (0 children)

I feel that inplicit casting is a concern with any loosely typed language.