2 ms·
Stop Writing `If` in Bash
- alex-moon 8mo agoI'm not convinced for one reason above all: short-circuit evaluation is available to use in most any programming language I've ever used, including Python and C. That said, I have seen this idiom in a lot of bash scripts. I've never understood why it's idiomatic and I'm not seeing an explanation here.
- tim-tday 8mo agoReadability