Keep It Simple, Stupid | |
PerlMonks |
Re^3: Lower-casing Substrings and Iterating Two Files togetherby BrowserUk (Patriarch) |
on Dec 27, 2008 at 16:14 UTC ( [id://732812]=note: print w/replies, xml ) | Need Help?? |
ord(" ") = 32 If it were my code, I think ord(" ") = 0x20 or even ord(" ") = 0b0010_0000 might be clearer, but that's essentially why I rarely comment the code I post. We tend to write comments that mean something to us, rather than others. My antisipation (hope!) is that what I post will rarely be used verbatim in other peoples programs. Indeed, I quite often leave the code deliberately shy of being a complete solution to the OPs question so that they will have to adapt it to their use. With the intent that anyone basing their code upon my postings, will first play with it a little to ensure that they understand it, and then adapt it to their needs. At that point they can adjust the coding style to their preferences or local requirements, and add whatever comments they think most appropriate. Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
In Section
Seekers of Perl Wisdom
|
|