UNIX funny, classic computing relevant

Chuck Guzis cclist at sydex.com
Mon Mar 2 01:27:35 CST 2009


On 1 Mar 2009 at 20:11, Brad Parker wrote:

>> #define blah (1 < 3)
> 
> but it was *supposed* to be (1 << 3)

That's why I like various variants of FORTRAN for operators:

.EQ., not ==
.SHR. not >>
.SHL. not <<

Much harder to create a error-free compile and have flubbed execution 
with those--and you could punch a program on an 024 keypunch without 
resorting to manual multi-punching.

--Chuck



More information about the cctalk mailing list