Re:Aho – a Git implementation in Awk
by blacklite on Saturday February 10, 2024 @11:09PM
(#39332578)
Perl is a great programming language, unless true.
Valid comment, unless $is_bad_example. I genuinely really like the use of unless in Perl. There are lots of times it's nicer to express inverse logic. You could change the name of a variable to have inverse truthyness and not have if not everywhere. Or you could accept you often need to deal with inverse logic on something and use the right language.
Screw what people think. I found out I like perl. The last thing I wrote is a programmatic partition editor [1] - like how you use sfdisk to zero out the partitions, except I wanted to do more than zap, like having the MBR and GPT partition table to combine them and make hybrids.
I was fun, and I will use perl again (I may also use awk at one point now that I see how cool it is)
[1] https://github.com/csdvrx/hdisk/