DEV Community

Discussion on: JavaScript is almost pythonic

Collapse
 
elarcis profile image
Elarcis • Edited

No need to be that categorical in your judgement, your '' + 2 code sample has always been outdated, as String(2) or (2).toString() have been allowed since the 1997 standard (source).

It’s possible to do awful code in a lot of languages, Python included, finding the worst in a tech is not a proof of it “sucking” ;)