[ILUG] C puzzle

Paul Jakma paul at clubi.ie
Tue Jul 6 21:14:02 IST 2004


On Tue, 6 Jul 2004, John Allen wrote:

> The correct solution is obviously C++. Macros is bad.

They're quite useful for saving on typing things that dont deserve to 
go in a function[1].

They're also not typed, which can be useful.

1. ie things that amount to no more than a few instructions. inlining 
anything that isnt utterly trivial is a performance *loss* on modern 
CPUs.

regards,
-- 
Paul Jakma	paul at clubi.ie	paul at jakma.org	Key ID: 64A2FF6A
 	warning: do not ever send email to spam at dishone.st
Fortune:
Fifth Law of Procrastination:
 	Procrastination avoids boredom; one never has the feeling that
 	there is nothing important to do.



More information about the ILUG mailing list