in reply to Re: Writing general code: real world example - and doubts!
in thread Writing general code: real world example - and doubts!

This leads to one more meditation: should I craft my examples carefully before posting them, exercitating the Hubris quality, or should I write them deliberately "naive" so that all this bunch of da*ned good advices pop up? I'm starting to think that the latter is the right way - my examples are clearly in this direction :) - but I fear that only a small percentage of all these will actually penetrate into my brain. Better than nothing.

This is also an indirect answer to my original topic: I think that I'll have to concentrate on solving the real problem (e.g. detainting a variable in the correct way, using the right regexes) before thinking about generalisations.

Flavio (perl -e "print(scalar(reverse('ti.xittelop@oivalf')))")

Don't fool yourself.
  • Comment on Re^2: Writing general code: real world example - and doubts!