comp.lang.ada
 help / color / mirror / Atom feed
* Obfuscated Ada
@ 1997-04-30  0:00 claveman
  0 siblings, 0 replies; only message in thread
From: claveman @ 1997-04-30  0:00 UTC (permalink / raw)




     Whenever questions of style arise, particularly the issue of "best" 
style, Robert Dewar usually reiterates his claim that a particular style 
is less important than that everyone use the same style.  I just had an 
experience that illustrates the validity of this claim, at least periph-
erally.  Maybe the real issue here is the confusion that can be caused 
by using a wildly unusual style.

     I was doing a grep-like search on some Ada code that I'm unfamiliar 
with and the following line was displayed:

  procedure REQUEST_BLOCK (BLOCK : in CHARACTER) is RETURN16 : INT16;

     I stared at that line for quite some time, trying to figure out 
what it was.  I began to suspect the compilers that allowed it, but 
since one of them was DEC Ada a compiler error seemed unlikely.  It even 
took me a few seconds seeing the line in context before the penny fi-
nally dropped.

				Charlie




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1997-04-30  0:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-04-30  0:00 Obfuscated Ada claveman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox