4 ms·
> 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
by csdvrx 3y ago
> 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/ https://github.com/csdvrx/hdisk/
- blacklite 3y agoPerl is a great programming language, unless true.
- Ultimatt 3y agoValid 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.