3 ms·
Half a dozen comments here (and lots in every other discussion on the subject) notes that you better learn the language before you talk about readability. (Perl
by berntb 17y ago
Half a dozen comments here (and lots in every other discussion on the subject) notes that you better learn the language before you talk about readability. (Perl has more syntax to learn -- the extra work is dwarfed by the libraries in every modern language. But you better follow the "Best Practices", for Perl.)
Goladus might not be a troll, but according to his own statements he doesn't write enough Perl to really know it. He just sprouts lots of opinions on things he don't know.
Edit: A few words for clarity.
Edit I might also note that Goladus' second code example did a complex algorithm without comments in a way that could be classed obfuscated.
- acg 17y agoTrolls don't normally make good points. In a way you illustrate the point being made: but according to his own statements he doesn't write enough Perl to really know it. He just sprouts lots of opinions on things he don't know From the point of view of a professional programmer as simpler language like Lua takes hours to learn. What you loose is the power of expression, however for a novice one doesn't perhaps want this power. For example if I were writing a platform for photographers, I wouldn't choose a perl as an extension language: it depends on the audience. Don't get me wrong I've written perl in commercial environments since 1994, and privately before that. Goladus makes a good point.
- berntb 17y agoFirst, Godalus implied that he knew what he was talking about regarding Perl, until it was pointed out that he didn't. Then he changed story. Edit: I might also add that Godalus' second code example modified an array inside an append to the array -- inside two tight loops... I've only seen things like that in obfuscations. (It could be extreme optimization -- but with a few earlier versions in comments or cvs/subversion/git/etc.) Tell me THAT code choice is not trolling...? Edit: Removed the rest, which has been written by multiple people in this thread.