Hacker News new | ask | show | jobs
by bolangi 7 days ago
Back in the late 80's I tried to experiment with C from the K&R book. I cried! I couldn't even understand a simple program for F to C conversion. Perl was a godsend, and meant I didn't need to learn to combine shell, sed and awk, etc. Perl was a one-stop shop! And didn't need to compile.

It's taken time to learn about Perl's warts. I would say the largest is understanding the difference between list and scalar context.

More than syntax, the challenges have been learning the CS concepts exposed by the language, such as references, namespaces, regexes.

The benefits, well, concise code, garbage collection, extreme flexibility to change how the language behaves. The latter must be used wisely and sufficiently commented, but runs rings around other languages that enforce limitations.

I haven't mastered other languages to compare, but a good explanation of the relative warts of languages is here:

https://dev.to/jlmartel/series/45699