Preferences

My impression was experienced Perl programmers took pride in making the smallest code possible, all in one line.

At my company they really locked in the project being dead if the original contributors left.

Perl propped up regex (JavaScript regex is based off of it), so I get the impression Perl practitioners tried to make all the code regex-y as possible as a cultural thing.


There was a regular feature in the perl community for 'golf' or 'crazy one liners' but almost no one used that shit in any actual code that left their user directory.
I remember the Perl art competitions, where you would write Perl code that would run and actually do something, and would be ASCII art at the same time. Obviously, lots of camels ;-)
Code golf is fun as a challenge, but it's obviously hell to find in a script someone else wrote that you're supposed to maintain.
> Perl programmers took pride in making the smallest code possible, all in one line

And this became a joke and meme.

This item has no comments currently.

Keyboard Shortcuts

Story Lists

j
Next story
k
Previous story
Shift+j
Last story
Shift+k
First story
o Enter
Go to story URL
c
Go to comments
u
Go to author

Navigation

Shift+t
Go to top stories
Shift+n
Go to new stories
Shift+b
Go to best stories
Shift+a
Go to Ask HN
Shift+s
Go to Show HN

Miscellaneous

?
Show this modal