APL\360

Nemo Nusquam cym224 at gmail.com
Fri Jan 29 15:25:45 CST 2021


On 01/29/21 15:58, Fred Cisin via cctalk wrote (in part):
> '=' and '==' makes possible what is probably the most common error, 
> and which the compiler doesn't catch:
> if (x = 3) . . .   /* sets x to 3 and gives TRUE for the condition */
> I imagine that there are probably some pre-processors that would 
> return a WARNING for it.

Henry's first commandment: Thou shalt run lint frequently and study its 
pronouncements with care, for verily its perception and judgement oft 
exceed thine.

N.


More information about the cctalk mailing list