kosmos.social is part of the decentralized social network powered by Mastodon.
kosmos.social is a friendly place for participating in the fediverse. It is run by the Kosmos open-source co-operative.

Server stats:

24
active users

Learn more

@edsu no-build JS setups. So hot right now.

Mozilla figured out how to put JS to serious use before `npm install`* was ever a thing. Of the hundreds of thousands of lines of JS powering Firefox (at least up until I called it quits on my hope that Mozilla would stay out of the gutter ~10 years ago)—mostly just a bunch of script elements and pre-ES6 JSM `import` statements. Very little "build" work in sight.

* or NodeJS or even Firefox, for that matter

To anyone and no one in particular: you now have permission to respond with "STFU" to any insolent jabberwocky insisting that you have to follow what the NodeJS/NPM community deems to be "best practice".

The story of JS's history for programming in the large (let's call it "industrial use") is so much fuller (and smarter) than the things NPMers have convinced themselves is essential for taming what they treat as irreducible complexity.

Colby Russell

Around the time that I wrote "How to displace JS" <colbyrussell.com/2019/03/06/ho>, I checked the then-latest README for instructions about doing a hello-world program using create-react-app. It was fuckin' 500 fuckin' megabytes *just* to be able to do a successful `npx create-react-app` and `npm start` and show the word "hello". Nuts!

@slightlyoff

www.colbyrussell.comHow to displace JS
Feb 22, 2023, 02:32 · · · 1 · 2