From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,57f23cc4dd455d6c X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 1995-01-25 07:19:42 PST Path: nntp.gmd.de!newsserver.jvnc.net!yale.edu!yale!gumby!newsxfer.itd.umich.edu!gatech!udel!news.mathworks.com!zombie.ncsc.mil!news.duke.edu!eff!blanket.mitre.org!linus.mitre.org!spectre!eachus From: eachus@spectre.mitre.org (Robert I. Eachus) Newsgroups: comp.lang.ada Subject: Re: C++ Envy Date: 25 Jan 1995 15:19:42 GMT Organization: The Mitre Corp., Bedford, MA. Message-ID: References: <3f2tbv$r5o@miranda.gmrc.gecm.com> <3frte2$re5@cronkite.seas.gwu.edu> <3g0evo$1h2@borage.csv.warwick.ac.uk> NNTP-Posting-Host: spectre.mitre.org In-reply-to: bobduff@world.std.com's message of Tue, 24 Jan 1995 18:56:58 GMT Date: 1995-01-25T15:19:42+00:00 List-Id: In article bobduff@world.std.com (Robert A Duff) writes: > True, but this seems like a minor point to me. No language can protect > against blatantly irresponsible coding tricks. Languages should instead > try to prevent problems that happen by accident, as most bugs do. How > could you accidentally use the trick being discussed? Because it was in a .h file that was in a #include in some .h file you included? The problem of conflicts between defines in a C or C++ library is a serious one, and the convention of all defined names being all upper case is a help, but in no way solves the problem. -- Robert I. Eachus with Standard_Disclaimer; use Standard_Disclaimer; function Message (Text: in Clever_Ideas) return Better_Ideas is...