News for hackers. Stuff that matters.
Re:Hotwire: HTML over the Wire by philote on Tuesday December 22, 2020 @03:30PM (#25510859)
Same. And I'm still amazed that people loved JS so much they put it on the SERVER too! And now node/npm is everywhere.
Re:Hotwire: HTML over the Wire by maccard on Tuesday December 22, 2020 @06:24PM (#25512668)
I think it's less about loving JS so much, and more about not having any options on the client. If there were any better client options they might have won!
Re:Hotwire: HTML over the Wire by Lio on Wednesday December 23, 2020 @04:59AM (#25516116)
Server side javascript was one of its original intended uses.

Here's the Netscape Enterprise Server manual from 1998[1]. Sorry I couldn't find an earlier version.

1. https://docs.oracle.com/cd/E19957-01/816-6410-10/816-6410-10...

Re:Hotwire: HTML over the Wire by mhh__ on Tuesday December 22, 2020 @09:06PM (#25513634)
I think a huge amount of that success is because JS is cheap to hire, i.e. Node is fast enough so why bother using a good language (cynically).

Anecdotally, most people I see who really really love JavaScript are kids who haven't really don't much else.

Re:Hotwire: HTML over the Wire by qudat on Tuesday December 22, 2020 @10:56PM (#25514210)
Yikes, what a condescending comment. I’d argue why this comment is beyond misguided but I’d be wasting my time.
Re:Hotwire: HTML over the Wire by Scarbutt on Tuesday December 22, 2020 @06:11PM (#25512554)
Node has a better runtime than ruby or python, so why not? and you also have TS.
Re:Hotwire: HTML over the Wire by mhh__ on Tuesday December 22, 2020 @09:12PM (#25513671)
The node runtime is actually pretty quick (It's roughly as fast as an optimizing compiler from 10-15 years ago, give or take, which is fairly impressive), but even TS is still makeup on a wart - you can't escape JS's more bizarre semantics that easily.