3 ms·
Before typescript and node > about 16 I’d reach for Python or more organized bash for these things. Now it’s Typescript from the client down to my system script
by cpfohl 3y ago
Before typescript and node > about 16 I’d reach for Python or more organized bash for these things. Now it’s Typescript from the client down to my system scripts.
The ability to use the same language all the way up and down my stack, to import code I use in my program from my script, and get Type-checking means more often than not I’ve got a hash bang with npx ts-node.
Especially useful for testing server code while skipping the HTTP nonsense.
- nesarkvechnep 3y agoI do the same thing but in Elixir. I don’t want to touch anything related to JS.
- cpfohl 3y agoI hate that I’m largely living in a JS world, but I’m fast and effective with it, and the standard library, ecosystem, and tooling has matured enough that I can deal with the quirks.
- paradox460 3y agoI love exs scripts, and I've largely replaced postman with LiveBook notebooks. Elixir all day every day