monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Monotone-devel] Re: The new macro M is no good...


From: Nathaniel Smith
Subject: Re: [Monotone-devel] Re: The new macro M is no good...
Date: Mon, 25 Jul 2005 18:18:34 -0700
User-agent: Mutt/1.5.9i

On Mon, Jul 25, 2005 at 11:33:49AM -0700, Steven E. Harris wrote:
> Funny, just last night I read Item 0 in /C++ Coding Standards/ by
> Sutter and Alexandrescu?:
> 
>   [A]lways use ONLY_UPPERCASE_NAMES for macros and never think about
>   writing a macro that is a common word or abbreviation (including
>   common template parameters, such as T and U; writing #define T
>   /anything/ is extremely disruptive).

Well, yes, it's good advice.  But since M _cannot_ be a non-macro, and
to be useful needs be quick and easy to type (or it will not be
used), the question we're left with is which rules to break how...

-- Nathaniel

-- 
Eternity is very long, especially towards the end.
  -- Woody Allen




reply via email to

[Prev in Thread] Current Thread [Next in Thread]