@email@example.com assuming you understood the person correctly, I suggest remembering who suggested that and never ever listen to them again.
Anyhow... I find that the optimum portability for me is writing stuff in #bash.
@jonn @htothedip portability is relative, it depends on your target platform(s). Zsh is guaranteed to be installed on macOS (as is bash, but an old version). Python is common, but it’s not guaranteed to be installed on e.g. the BSDs. Nor is zsh or bash, for that matter. In that case you’d probably want to stick to POSIX sh (or perhaps Perl).
Having said that I’m not sure I’d write a zsh script unless it was to use interactively from zsh. Python seems far more practical.
Mastodon server of https://doma.dev.