I remember writing Perl for a part-time job in college, quite some time ago. The language was powerful, and compact. However, when I went back to a piece of code that I hadn't looked at in two weeks, the compact and powerful nature of the language made it hard to read. [...] Sometimes it was faster to re-write the code from scratch than to read it, so it was, to some extent, a write-only language.
Sorry, couldn't resist
| [reply] |
Beyond the humor, you end up making my point well, perhaps better than I did.
I've sometimes found "map" leading me into stacking functions 'till they look like a Schwartzian Transform gone wrong, but I never have found Perl leading me towards writing at the density of a mathematical proof. Regular expressions certainly get dense and obtuse without the "/x" modifier, but they stay in their own restircted string context. Nothing's ever come close to the APL experience for leading me down the path of unintentional obscurity. | [reply] |