[comp.lang.c] Ultimate SLM

djones@megatest.UUCP (Dave Jones) (02/23/89)

From article <23792@watmath.waterloo.edu>, by rbutterworth@watmath.waterloo.edu (Ray Butterworth):

> 
> NULL is NOT a null pointer.
> NULL is possibly NOT a pointer at all.
> NULL is NOT part of the C language.
> NULL IS a mistake.
> 



It's the ultimate SLM! It has caused oh-so-much confusion, and
why? -- in the name of self-documentation, of course!

It's has a special place of honor, at the very top of the list,
in my SLM compendium (a work in progress).


                         Dave J.



P.S. If you would like to contribute an SLM for the common good,
please do so.  The rules are (1) it must be taken from real live
production code, and (2) it must be really silly, and (3) it must 
have no value as an abstraction.  (If there is even a remote chance
that the value denoted by the macro might change, it doesn't qualify.)

Send entries to sun!megatest!djones.


                         D. J.