Viewing a single comment thread. View all comments

4

emma wrote (edited )

Haven't tried it yet, but apparently you can write DOS programs in JS. I honestly had a hard time wrapping my head around this when I first heard about it, because "JS interpreter" and "16-bit OS" don't mix in my brain.

As for why JS isn't more popular, Python has been around a hell of a lot longer, and JS has only caught up to other languages in the past few years.

1

twovests wrote

Right? I can't articulate what weird mental blocks I had about JavaScript but it's over 20 years old but I feel you entirely on that "hm JS on DOS? wack".

3

emma wrote

Arguably node.js and its standard library is what made JS practical as a general purpose language, and that's only been around for about a decade.