Hacker News new | ask | show | jobs
by LessDmesg 2293 days ago
I really like this JS-free future we have ahead of us. I mean, I needed to format a date as text recently, and JS can't even do that without downloading some library... The sooner we'll be able to use real languages on the front-end, the better.
2 comments

I'm not sure that'll ever happen now (as much as I would like it). JS/TS has inserted itself into just about every area and theres a whole lot of Javascript developers who are going to want to keep writing Javascript. It's basically the PHP of it's day.
Let them have it, they certainly have fun reinventing wheels and dealing with dependency issues etc. That won't prevent a new WASM ecosystem from springing up. Not in the least because, as the article says, WASM is a sandbox not jusy for browser use.
Since I recently developed an infatuation with nodejs (after 20 years of hating on js), would you mind sharing the "date as text" requirement? It should be trivial to compose with a string literal if the builtin toLocaleDateString() doesn't cut it.