From: "Traveler" Newsgroups: comp.lang.c++,comp.os.msdos.djgpp Subject: Re: Making C++ little easier to beginners... Date: Fri, 19 Oct 2001 03:53:34 +0300 Organization: SAUNALAHDEN asiakas Lines: 26 Message-ID: <9qntd3$k8s$1@tron.sci.fi> References: <9qmkrh$581$1 AT tron DOT sci DOT fi> <38315c2d DOT 0110181039 DOT 29608661 AT posting DOT google DOT com> NNTP-Posting-Host: cmlvi.rdyn.saunalahti.fi Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: tron.sci.fi 1003452643 20764 195.197.136.56 (19 Oct 2001 00:50:43 GMT) X-Complaints-To: newsmaster AT saunalahti DOT fi NNTP-Posting-Date: 19 Oct 2001 00:50:43 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id f9J101t15150 Reply-To: djgpp AT delorie DOT com > > if(x == 10 && x == 10) // Does this look scary or weird > > to you ? > > No. It looks like exactly you are ANDing the result of x == 10 with > the result of x == 10. I suppose that's a bit weird, but certainly not > scary. I believe that you allready noticed the error... > That's enough! How do you suppose obfuscating the C++ language behind > a set of dodgy preprocessor macros makes things easier for anybody, > particularly beginners? In fact, don't answer that. You answer to this instead : If you make 'NAND' operation ('Not And') witch is more easier way to do it ? Traditional or with the use of this stuff ? Also note that what I have done so far is to offer alternative to "bit" and "logical" operations. I did not try to do some brain-damage things like defining '{' with BEGING and '}' with END like in Pascal...