🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c++
Article #1886

Re: true/false literal std question

#1886
From: Micha Berger
Date: Fri, 01 Sep 1995 17:00
28 lines
1583 bytes
Fergus Henderson (fjh@munta.cs.mu.OZ.AU) wrote:
: 	#if 1
: 		// alert! this is a temporary hack!!
: 		hack(); hack(); hack();
: 	#else
: 		// this code disabled because ...
: 		...

I prefer:
	#ifdef PUT_BUG_DESCRIPTION_HERE
 		// this code disabled because ...
 		...
 	#else
 		// alert! this is a temporary hack!!
 		hack(); hack(); hack();
	#endif

This way, I can toggle which code to use without editing the file.

--
Micha Berger 201 916-0287        Help free Ron Arad, held by Syria 3224 days!
aishdas@haven.ios.com                     (16-Oct-86 -  1-Sep-95)
<a href=news:alt.religion.aishdas>Orthodox Judaism: Torah, Worship, Kindness</a>
<a href=http://haven.ios.com/~aishdas>AishDas Society's Home Page</a>
---
[ comp.std.c++ is moderated.  Submission address: std-c++@ncar.ucar.edu.
  Contact address: std-c++-request@ncar.ucar.edu.  The moderation policy
  is summarized in http://dogbert.lbl.gov/~matt/std-c++/policy.html. ]
Technical Details
Message-ID: <4276a1$63f@news.ios.com>
Path: arc1-ca.pugleaf.net!in1.uu.net!bounce-back
References: <4167na$nv9@engnews2.Eng.Sun.COM> <416oev$71f@mujibur.inmind.com> <417kfc$1q3@engnews2.Eng.Sun.COM> <41881c$ihs@mujibur.inmind.com> <MATT.95Aug21105142@physics2.Berkeley.EDU> <9508310634.1386@mulga.cs.mu.OZ.AU>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!in1.uu.net!bounce-back
Date: 01 Sep 95 17:00:39 GMT
Approved: fjh@cs.mu.oz.au
Return-Path: <daemon@ncar.UCAR.EDU>
From: aishdas@haven.ios.com (Micha Berger)
Newsgroups: comp.std.c++
Subject: Re: true/false literal std question
X-Original-Date: 1 Sep 1995 14:45:21 GMT
Organization: AishDas Society
Message-ID: <4276a1$63f@news.ios.com>
References: <4167na$nv9@engnews2.Eng.Sun.COM> <416oev$71f@mujibur.inmind.com> <417kfc$1q3@engnews2.Eng.Sun.COM> <41881c$ihs@mujibur.inmind.com> <MATT.95Aug21105142@physics2.Berkeley.EDU> <9508310634.1386@mulga.cs.mu.OZ.AU>
X-Newsreader: TIN [version 1.2 PL2]