Hacker News new | ask | show | jobs
by blacklite 902 days ago
Perl is a great programming language, unless true.
1 comments

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.