News for hackers. Stuff that matters.
Re:Aho – a Git implementation in Awk by csdvrx on Saturday February 10, 2024 @01:48PM (#39329049)
> then people decided perl was bad and moved on from that.

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/

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.
Re:Aho – a Git implementation in Awk by Ultimatt on Sunday February 11, 2024 @06:34AM (#39334316)
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.