Quentin Correll wrote:
> Rudy, > > | Macros are evil, evil, evil. <g> > > Something else on which we agree! <g>
Actually, macros that are used to define complete structures or similar actually make sense and even Delphi could benefit from them, especially if they could actually have typed parameters. And simple #defines of values are in fact like pure constants in Delphi.
But macros that are meant to inline code snippets or as a poor replacement for generics, or are meant to serve similar purposes, are evil.
-- Rudy Velthuis (TeamB) http://www.teamb.com
"Naturally we feel that mentally ill people are not what we are looking for when we hire programmers - although there is no empirical data to support or contradict that view... Is it appropriate to give tests for mental illness to anyone applying for any kind of job?" -- Weinberg The Psychology of Computer Programming