3 ms·
Usually I don't care about what language an executable is written in. After all, as a user I'm just interested in whether it executes or not. But these small-s
by andreineculau 9y ago
Usually I don't care about what language an executable is written in. After all, as a user I'm just interested in whether it executes or not.
But these small-software situations amaze me. Someone with a node_modules problem will have readily available sh, node and maybe python. So why golang? What could those not do, or golang can do better to such extent that it trumps availability? Similarly there's a price to pay in terms of people contributing with a fix: who is interested in pruning node_modules and will send in a golang PR?
In other words, if a dev would prefer Java (specifically chosen because it exacerbates the startup time), would it still pass as ok? Luckily golang can compile to binaries but that implies you give up availability on the other end, now being confined to someone compiling and publishing on a regular basis, as opposed to just pushing a fix commit to a git url.
None of the above would be of importance if this would be a personal-quality repo with a note: hey i did this at 2am out of frustration, i chose the tools that i knew best, use it at your own risk, opensourced to share knowledge and to access it from my own projects, not as a "productified" software.
EDIT: I would much prefer a commenter's solution in sh for the reasons above but also readibility: https://gist.github.com/gpittarelli/64d1e9b7c1a4af762ec467b1c7571dc2 https://gist.github.com/gpittarelli/64d1e9b7c1a4af762ec467b1... :clap:
- tjholowaychuk 9y agoMan it's free code, you're reading into this far too much.
- andreineculau 9y agoI'm trying really hard to see what price has to do with anything I've said.
- always_good 9y agoWell, that's your problem right there. This line particularly reveals your very sad flavor of entitlement: > hey i did this at 2am out of frustration, i chose the tools that i knew best, use it at your own risk, opensourced to share knowledge and to access it from my own projects, not as a "productified" software.