Samir Parikh / Blog

Originally published on 30 October 2020

Just over one year ago, I wrote about how I had become enchanted with the D programming language as part of my journey in exploring new programming languages. I still really like D for all of the reasons I wrote about, but as I alluded to in the conclusion of that piece, I fully expected to “get distracted by the next new shiny thing that comes along.” Turns out that the next new shiny thing happens to be … Perl!

That’s right: a language that Larry Wall first developed back in 1987 happens to have caught my fancy and I’m as surprised as anyone.

When I first started learning Python over ten years ago, I would come across snippets of Perl in solutions submitted to things like Project Euler or in various forum threads. Perl programs had the most opaque and impenetrable syntax I had ever seen, filled with @ after & followed by more $ symbols than I could count. But the further I got into the bioinformatics problems on the Rosalind site, the more I started to understand the power, brevity and design of Perl. It was refreshing to see that regular expressions were treated as a first class citizen and that there were similarities to how Perl and Bash scripts were written (which, to some, could be a disadvantage!) And the more I read about it, the more I began to appreciate its rich heritage and its history alongside the development of Unix.

I picked up a copy of the seventh edition of “Learning Perl” and started educating myself on the language. In order to get some practice and apply what I’ve been learning, I’m redoing some of the Rosalind problems I had originally done in D as well as trying to participate in Mohammad Anwar’s Perl Weekly Challenge.

I’ll do my best to update this site on whatever I learn but if the past six months or so are any indication, don’t hold your breath. And who knows, by the time I find the time to publish a new post, I may be onto something else!