TEAM-ADA Archives

Team Ada: Ada Programming Language Advocacy


Options: Use Classic View

Use Monospaced Font
Show Text Part by Default
Condense Mail Headers

Topic: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Mime-Version: 1.0
Sender: "Team Ada: Ada Advocacy Issues (83 & 95)" <[log in to unmask]>
From: Norman Cohen <[log in to unmask]>
Date: Fri, 26 Jun 1998 15:22:51 -0400
Content-type: text/plain; charset=us-ascii
Parts/Attachments: text/plain (18 lines)
A colleague of mine was reading a C++ book and pointed out this quote to
me.  My apologies if it's been mentioned here before:

     Compilers are supposed to translate C++ into an
     executable format, not act as your personal safety
     net.  You want that kind of safety?  Program in Ada.

     -- Scott Meyers, Effective C++, Second Edition: 50 Specific
         Ways to Improve Your Programs and Designs.  Addison Wesley,
         1998, p. 224

My colleague's best guess is that this genuinely WAS meant as a compliment
to Ada, i.e., that despite the author's description of what a compiler is
"supposed to" do, he really does value the safety net that strong
compile-time checks provide.

-- Norman Cohen