From: RC <rc1@clanchy.demon.co.uk>
Subject: Re: Ada's Assembly Language Comments
Date: 1997/07/08
Date: 1997-07-08T00:00:00+00:00 [thread overview]
Message-ID: <rtu0YYAaHowzYwq2@clanchy.demon.co.uk> (raw)
In-Reply-To: 5pj11i$364@mulga.cs.mu.OZ.AU
>For further evidence that this happens even to experienced professional
>programmers, here is an extract from /usr/include/sys/kern/queue.h
>on the alpha-dec-osf3.2 system that I'm using.
>
> /*
> * Macro: queue_init
> * Function:
> * Initialize the given queue.
> * Header:
> * void queue_init(q)
> * queue_t q; /* MODIFIED*/
> */
> #define queue_init(q) ((q)->next = (q)->prev = q)
>
>The only reason that this code compiles at all is that it is usually
>#ifdef'd out.
True, but then it is 'C' isn't it? Hardly the worlds definitive
standard for readable languages.
Again, if code can be nested, why not comments?
RC1
next prev parent reply other threads:[~1997-07-08 0:00 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-07-03 0:00 Ada's Assembly Language Comments RC
1997-07-03 0:00 ` Samuel Mize
1997-07-04 0:00 ` Fergus Henderson
1997-07-07 0:00 ` Tucker Taft
1997-07-08 0:00 ` RC [this message]
1997-07-08 0:00 ` RC
1997-07-11 0:00 ` Samuel Mize
1997-07-11 0:00 ` Joerg Rodemann
1997-07-11 0:00 ` Stuart Palin
1997-07-03 0:00 ` Kenneth W. Sodemann
1997-07-04 0:00 ` Richard A. O'Keefe
1997-07-08 0:00 ` Kenneth W. Sodemann
1997-07-08 0:00 ` RC
1997-07-11 0:00 ` Robert Munck
1997-07-11 0:00 ` Dan Johnston D.B.
1997-07-13 0:00 ` Robert Dewar
1997-07-03 0:00 ` Peter Hermann
1997-07-03 0:00 ` RC
1997-07-08 0:00 ` Peter Hermann
1997-07-03 0:00 ` Robert Dewar
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox