in reply to Re^2: Lower-casing Substrings and Iterating Two Files together
in thread Lower-casing Substrings and Iterating Two Files together
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.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: Lower-casing Substrings and Iterating Two Files together
by tilly (Archbishop) on Dec 27, 2008 at 18:02 UTC | |
by BrowserUk (Pope) on Dec 27, 2008 at 19:01 UTC |