Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c++ > #119883

Re: General Preference in C++

From Chris Ahlstrom <OFeem1987@teleworm.us>
Newsgroups comp.lang.c++
Subject Re: General Preference in C++
Date 2024-08-22 13:18 -0400
Organization None
Message-ID <va7rsh$gofb$3@dont-email.me> (permalink)
References <va3fk7$ui68$1@paganini.bofh.team> <87v7zubq07.fsf@nosuchdomain.example.com>

Show all headers | View raw


Keith Thompson wrote this copyrighted missive and expects royalties:

> <brevsnip>
>
> I believe the general consensus (and my own preference) is to use core
> language features rather than macros unless there's a very good reason
> to use a macro.

I use macros for enabling/disabling code depending on developer preference or
platform.

Is that a sensible use of macros? (A little off-topic, sorry). 

-- 
My only love sprung from my only hate!
Too early seen unknown, and known too late!
		-- William Shakespeare, "Romeo and Juliet"

Back to comp.lang.c++ | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

General Preference in C++ Jack <noreply@mandrill.com> - 2024-08-21 01:30 +0000
  Re: General Preference in C++ Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2024-08-20 18:53 -0700
    Re: General Preference in C++ Chris Ahlstrom <OFeem1987@teleworm.us> - 2024-08-22 13:18 -0400
      Re: General Preference in C++ scott@slp53.sl.home (Scott Lurndal) - 2024-08-22 17:54 +0000
        Re: General Preference in C++ Bonita Montero <Bonita.Montero@gmail.com> - 2024-08-22 20:08 +0200
        Re: General Preference in C++ David Brown <david.brown@hesbynett.no> - 2024-08-23 09:08 +0200
          Re: General Preference in C++ Chris Ahlstrom <OFeem1987@teleworm.us> - 2024-08-23 09:41 -0400
  Re: General Preference in C++ Andrey Tarasevich <andreytarasevich@hotmail.com> - 2024-08-20 20:07 -0700
    Re: General Preference in C++ David Brown <david.brown@hesbynett.no> - 2024-08-21 09:07 +0200
  Re: General Preference in C++ Bonita Montero <Bonita.Montero@gmail.com> - 2024-08-22 11:33 +0200

csiph-web