2 ms·
> Bash is the hardest language to write comparisons in if you're not doing it every day. The syntax is so unlike anything else. worse than brainfuck? I find t
by freedomben 4y ago
> Bash is the hardest language to write comparisons in if you're not doing it every day. The syntax is so unlike anything else.
worse than brainfuck? I find that hard to believe...
on a serious note though, I don't agree. the syntax is not that different from the awk -> perl -> ruby heritage. Just a few constraints/conventions due to whitespace significance that other langs don't have.
- JohnFen 4y agoI agree. There are genuinely weird things about bash that increases the difficulty of writing for it, but I never really counted comparisons as one of them.
- klyrs 4y ago> worse than brainfuck? I find that hard to believe... Malbolge perhaps. Brainfuck is tedious, but it's a language of 8 symbols; there's nothing to forget. But doing comparisons in bash calls for a whole quickref of its own.