|Think about Loose Coupling|
Re^3: inheritance: constructorsby Athanasius (Chancellor)
|on Dec 01, 2012 at 03:33 UTC||Need Help??|
I couldn’t agree more. One of my pet abominations is code like this:
which can so easily be recast as:
So, let’s propose a general style guideline:
Thou shalt not code in double negatives.
For an amusing commentary on this theme, see Re^2: Can't remove directory-Permission denied (knot).
And for the one legitimate exception to the rule (that I can think of offhand), see Secret Perl Operators: the boolean list squash operator, x!!.
Athanasius <°(((>< contra mundum