> You don't use templates

I certainly do use templates. Not sure how you get "don't use templates" from 
what I wrote. Heck, I *over* used templates in the first large C++ project I 
ever did, and boy, does that make a mess! Now I think I am down to a happy 
medium. I don't see them as "competitive" (in a design sense) with macros.

Charles


-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf 
Of David Crayford
Sent: Tuesday, April 6, 2021 5:15 AM
To: [email protected]
Subject: Re: Meta languages [was: RE: Assembler Language Programming for IBM 
System z Servers]

On 6/04/2021 1:23 am, Charles Mills wrote:
>> But IMHO none easy to learn or use.
> I am generally not a fan of meta languages at all. I think writing programs 
> is hard enough, without having to write two effective programs: one that runs 
> at compile time and one that runs at run time.
>
> In my C++, which is now my primary language, I eschew the use of C macros as 
> much as reasonably possible. Reasonableness is a key here. For a few things, 
> macros make sense.

That's interesting. You don't use templates which are one the most 
powerful features of C++?

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to