|
*Subject: Re: First C Program
*From: Barbara Morris <bmorris@xxxxxxxxxx>
*Date: Thu, 03 Apr 2014 13:42:13 -0400
Hi Frank, I have been thinking about the use of macros such as
EQ, forever, NE etc, and I think you are doing yourself a disservice
by using these macros as a beginner C programmer. Here are some of thereasons:
You will find it less easy to read "normal" C code if you don't get
used to seeing *and quickly interpreting* things like != == for(;;)
You will find it more difficult to incorporate code that you find on theweb.
You will have to either change all the == and != to use your macros,
or perhaps even worse, you will have a mixture of EQ and ==.
You will not be able to post snippets of code to forums without
replacing your macros. I wouldn't post weird code like that to any forum
even with an explanation for what the macros mean.
The discussion would almost certainly be more about the use of the macros
than about whatever question you were trying to ask.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.