Hacker News new | ask | show | jobs
by Kamq 1128 days ago
> and, frankly, why would you write `.js` in 2023?

It's surprisingly convenient for munging around random json files or calling random apis that return json (or for dealing with an interaction between the two), especially now that fetch ships with node.

1 comments

JSON is great, for sure, and "calling random APIs" gets even better with type definition autocompletion!
If you make me start statically typing the random scripts I write to munge data round to answer business questions, I quit.
Fair enough.