burnthewhich.github.io

What’s wrong with whichcraft?

It’s not portable

The main reason people stick with which instead of using better alternatives is because (they claim that) it’s “more portable”.

The problem with that assertion is that it’s true, but only in the sense of “it exists on every POSIX-compliant platform”, not in the sense that POSIX requires any useful behaviour.

So all that statement proves is that they haven’t been paying attention for the last 30 years. “More portable” might have been true in 1990. It’s not true in 2021. Wake up and smell the POSIX daisies.