|
Subject: Re: C macrosfor others -
From: Jevgeni Astanovski
Date: Fri, 4 Apr 2014 09:37:48 +0000 List-archive:
Frank, I think that your reference to K&R is a joke.
K&R book is a book for learning language. It is not for learning style.
They used "forever" as an example what CAN BE done using #define
but they never said that it SHOULD BE done. Feel the difference.
I personally hate this sort of macros because they make program unreadable
exactly what Barbara told you earlier.
So: think of the people who will read your code, use clear constructions
....
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.