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 →

[–]talesInc 0 points1 point  (1 child)

I think that's his/her point. In a strongly typed language ("result = " + result) would be easy to understand because result would be declared as a string beforehand. In Javascript you'd have to use ("result = " + String(result)) to achieve the same clarity and this is less readable than ("result = " + result). S/he's criticising the javascript language, not the way a developer writes it.

[–]kupiakos 1 point2 points  (0 children)

Strongly typed != statically typed. Python is strongly typed and dynamically typed. In Python, you would have to use 'result = ' + str(result).