5 ms·
This is going to sound like a dumb question and is certainly going to be an unrelated tangent, but: why in the world does the Node ecosystem have half a dozen c
by woodruffw 5y ago
This is going to sound like a dumb question and is certainly going to be an unrelated tangent, but: why in the world does the Node ecosystem have half a dozen competing terminal colorization libraries? Is that much CLI tooling really being written in JavaScript?
I spend virtually my entire workday in a terminal, and I’ve never once needed a CLI tool written in JS. Where is all this code going?
- colejohnson66 5y agoI’d wager a guess that bootcamps teaching JS producing lots of people. Eventually, some will want to recreate something from scratch. A law of large numbers thing. I could be wrong though. As for where it’s going, Node based CLI programs. For example, `yarn upgrade-interactive` uses it (a chalk-like module)
- chakkepolja 5y agoCombination of so much JS programmers being * Young * Hipster * From bootcamps without any other serious knowledge. * A culture of resume padding * A total lack of care about security, performance or reliability.
- gotoeleven 5y agoRiddled with insecurity yet somehow lacking humility.
- cratermoon 5y agoFor both definitions of "insecure"
- Lammy 5y agohttps://catandgirl.com/riddle-me-this/ https://catandgirl.com/riddle-me-this/
- deleted 5y ago[deleted]
- leppr 5y agoYou only need to read the linked Twitter thread to get a couple examples.
- woodruffw 5y agoI read the thread, and it sounds like these libraries end up in what I think of (from other ecosystems) as “core” tooling: package managers, linters, &c. I definitely wasn’t expecting that: most of the other ecosystems I’ve interacted with have had a “vendor or reimplement” mentality when it comes to dependencies in common tooling.
- sofixa 5y agoThere's lots of CLI tools around JavaScript itself. And many third-party developer oriented services ( Firebase, Netlify, etc.) have their CLIs in JS as well.
- woodruffw 5y agoThanks for the context. I do very little work with SaaS services, so I’m extraordinarily ignorant of their CLIs!
- agustif 5y agoIf you ever are interested, there's some cool stuff in the area like oclif framework. (from heroku) for building nice CLI tools... Very interesting mix of JS+CLI indeed
- thrower123 5y agoJavascript is the opposite of a batteries-included language, so there is and has been an enormous amount of wasted effort duplicating functionality that should have been in a standard library.
- pabs3 5y agoAre there any movements towards creating a standard library for JavaScript (or at least server-side JS)?
- wizzwizz4 5y agoThere are many, many, many such movements. Which somewhat defeats the point, really.
- thrower123 5y agoThis is why I have 107 different point-releases of lowdash and jquery in my node_modules folder
- pitaj 5y agoI don't know what you mean by "point-releases". I understand the hyperbole but pretty much every package manager will minimize different versions by installing one that's compatible with all requirements.
- NullPrefix 5y ago>107 different point-releases of lowdash Would totally believe that lowdash is a lodash fork.
- chenmike 5y agoWe’re talking about a terminal colorization function though. Fragmentation of packages aside, are there any other languages that have terminal text colorization built into the standard library?
- BiteCode_dev 5y agoBecause a lot of the JS community comes from the design world, and they care about colors more than other communities. In Python, the experience has been the opposite. We had to wait until recently to have once very good decent terminal coloring lib: rich.
- zarzavat 5y agoIt's because it's something that can be easily influential. At some point every sufficiently large CLI tool needs a terminal color library, and if you can make yours 1% better than anything else, then you can make a library that touches a lot of projects, which is great for your resume and improves your job prospects (at least that's what they hope).
- 5560675260 5y agoOverwhelming majority of modern web frontend development is done with build tools written in JS. Node is a popular choice for backend and that also generates a lot of lines of terminal output.
- datenarsch 5y agoI think it's because they try to impress their non-technical friends with flashy colourful and matrix-like terminal windows and come off as hackers when in reality most of them don't even know what a stack overflow is.
- woodruffw 5y agoThis kind of programming elitism is a general bummer: what good does it do to gatekeep “hacker” in this way? Even the context is absurd: we’re on a website that calls itself “Hacker News” but caters chiefly to the relatively narrow and un-hacker-like interests of a handful of overcapitalized investors.
- Lammy 5y agoI took it to mean a second definition describing a particular aesthetic identity, e.g. dark-mode everything, tiny and/or monospace fonts, use of the word "rice" as a verb, etc. I'm totally down for two of those so this isn't said with disdain ;) Perhaps "hax0r" would be more appropriate.