5 ms·
This won't be popular but... NodeJS. It's easy to grab input from the CLI, "shelling out" isn't really all that bad and often I want to do some "business logic"
by joshstrange 7y ago
This won't be popular but... NodeJS. It's easy to grab input from the CLI, "shelling out" isn't really all that bad and often I want to do some "business logic" type stuff in code really quick and I know the toolset very well. It's much faster for me to do stuff in JS even if it might be slightly slower to execute. Execution time is rarely what I'm optimizing for in one-off scripts or even things I might run on a regular basis. My ability to understand the code and make changes is valued much higher for me.
- quickthrower2 7y agoI have a side project that is using JS (typescript fwiw) for a data pipeline, a server, browser code and a tool to set up elastic search. Using the same lingo throughout the app is cool and there is even some shared libraries across the stack.
- joshstrange 7y agoIs that project OS or on github? I’m just about in love with typescript and would love examples of the things you are talking about. I’ve been playing around with setting up an example project that uses TS and a couple of tools I use regularly so I can just use it as a starter.
- bradknowles 7y agoSo, a language where the average program has something like 1900 dependencies and sub-dependencies? Seriously?
- joshstrange 7y agoSee: It won’t be popular.. #LeftPad listen I get the negatives. I’m not on HN to argue with people who are too buy letting good be the enemy of great. I’ve got work to do and NodeJS lets me do that. If you want to hate or spread FUD then that’s on you, me? I’ve got better things to do.
- uhryks 7y agoWhat are you talking about? You don't need npm to run scripts and Node.js has a standard library.
- dang 7y agoPlease don't do programming flamewars here. https://news.ycombinator.com/newsguidelines.html https://news.ycombinator.com/newsguidelines.html
- winrid 7y agoThis. I have probably written a hundred data migration scripts (call bunch of services/databases, parse/move data around, etc) and Node is an awesome fit. Speed isn't even a concern because my script isn't going to be the bottleneck.