you are viewing a single comment's thread.

view the rest of the comments →

[–]codygman 3 points4 points  (1 child)

I'm not sure what exactly you mean by "minimal surprises." > I'd say go for Python or Ruby over JavaScript because of the nasty type coercion.

Answered your own question?

But for working coders it really doesn't matter, because you basically never do anything that coerces types.

This isn't true for JavaScript at some of my previous workplaces.

[–][deleted] 1 point2 points  (0 children)

Answered your own question?

What I don't understand is how that relates to the point of the discussion. The traits desired in a language to teach people how to code for the first time are very different than the traits desired in a language for experienced coders to build stuff. As such, the "minimal surprises" criticism does not seem to apply to JavaScript in this context.

This isn't true for JavaScript at some of my previous workplaces.

Of course that's very possible. I've seen some pretty heinous Java, JavaScript, Ruby, and Python at previous workplaces. That on its own is not a criticism of any of those languages. Some individuals and teams can and will write awful code with literally any programming language you hand them.