3 ms·
I remember Perl being distinctly painful to maintain. My favorite example was when I made a little blog engine in college, that had a calendar component that sh
by sershe 6y ago
I remember Perl being distinctly painful to maintain. My favorite example was when I made a little blog engine in college, that had a calendar component that showed the old posts but had various neat features (in addition to actually handling all the special cases of rendering a calendar).
A couple years later I needed a slightly different calendar render for a freelance project that had to be in Perl. I looked at my old, terse Perl code (it was maybe a couple screens if that), tried to understand what the hell it is doing, and wrote the new calendar from scratch. I also made sure to "write C in Perl" so someone could actually understand it later.
It's possible to write clean code in Perl, but from pretty much every codebase I've seen, it is not natural :)