DEV Community

Discussion on: JavaScript is not an untyped language

Collapse
 
jcubic profile image
Jakub T. Jankiewicz • Edited

Assembly have strings (sequance of ASCII characters) and numbers so I don't think it's untyped unless you treat strings are sequence of bytes that are numbers. Prolog probably is untyped since it only have sentances and words.

I was mainly refered to modern languages that are commonly used. No one will compare JavaScript to Prolog or Shell language.

Thread Thread
 
miguelmj profile image
MiguelMJ

Assembly is not a language, it's a family of languages, and the ones that use characters and numbers, do it as syntax sugar, but in the end don't have a type system that imposes restrictions on how you operate them, so they still adjust to the definition of un typed languages.

Shell languages are modern, thousand of developers use Bash daily.

And that of no one will compare that languages, it depends. I personally have seen comparisons between all kind of languages that I have found relevant. "Modern languages" is something really, really unspecific.