3 ms·
"You ever debug a terse Perl program written by a really "smart" person?" If the program is terse beyond readability then the person who wrote it is not smart.
by Raphael_Amiard 17y ago
"You ever debug a terse Perl program written by a really "smart" person?"
If the program is terse beyond readability then the person who wrote it is not smart. Power has actually few things to do with terseness, and more with readability/ expressivity.
- jbooth 17y agoSmart != Wise. I used to try to cram more stuff onto a line because I thought it was elegant. Now, depending on the circumstance, sometimes I'll deliberately split up something that I originally wrote as a 1-liner because, at second pass, it looks like it'll be hard to read for the next person. Just having the intermediate variable name makes your code more self-documenting in some situations.