News for hackers. Stuff that matters.
Re:Teach Yourself Programming in Ten Years (1998) by freedomben on Sunday June 06, 2021 @01:00PM (#27414462)
I'd be curious to hear some examples where JS doesn't fit as a general purpose language. In my arrogance I suspect it would be hard to give examples that don't also disqualify other scripting langs like python and ruby. Perhaps you don't consider those to be general purpose either?
Re:Teach Yourself Programming in Ten Years (1998) by Hendrikto on Sunday June 06, 2021 @02:56PM (#27415355)
For example, without something like Node, you cannot even open a file. I consider this a very basic requirement for being "general purpose".
Re:Teach Yourself Programming in Ten Years (1998) by freedomben on Tuesday June 08, 2021 @11:08AM (#27436187)
it sounds to me like you're talking about a particular implementation (the browser) not the language itself. The browser intentionally has that limitation. The language itself has no problem with it.