comp.lang.ada
 help / color / mirror / Atom feed
From: skates.gsfc.nasa.gov!bambam.gsfc.nasa.gov!nbssal@ames.arc.nasa.gov  (Step he Leake)
Subject: Re: good software engineering (was: mixing integer and logical ops)
Date: 27 May 93 17:32:00 GMT	[thread overview]
Message-ID: <27MAY199312323696@bambam.gsfc.nasa.gov> (raw)

Wes Groleau writes...
>>     I've always thought that one of the major advantages of Ada was
>>that it makes bad code look so bad that the author fixes it, often
>>before anyone else sees it.
> 

Robert I. Eachus writes:
>I think the reason is not that Ada makes it easier to spot "bad code"
>Rather, IMHO, it's that the "Ada community" has from the beginning
>had an attitude in favor of "pretty" and readable source code.  The
>C community on the other hand is unsuccessfully trying to change a
>culture that EXPECTS code to be unreadable.

I'll go with Wes; I've always found that if Ada makes me work to hard to do
what I think I want to do, there is usually a better way, or I don't really
want to do it. Put another way, if you find yourself writing inelegant Ada
code, take a step back and think the problem thru again. Maybe peruse the LRM;
some feature of Ada that you had temporarily forgotten about might jump and
suggest a better approach.

Stephen Leake	NASA Goddard Robotics Lab
internet : nbssal@robots.gsfc.nasa.gov

             reply	other threads:[~1993-05-27 17:32 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1993-05-27 17:32 Step he Leake [this message]
  -- strict thread matches above, loose matches on Subject: below --
1993-05-27 22:24 good software engineering (was: mixing integer and logical ops) Robert I. Eachus
1993-05-27 19:33 Robert I. Eachus
1993-05-26 20:56 Wes Groleau X7574
1993-05-26 16:50 Robert I. Eachus
1993-05-25 20:17 David Emery
replies disabled

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