Ruby 3.0 to have immutable strings by default / C++ heading towards "generic all the time".

Walter Bright via Digitalmars-d digitalmars-d at puremagic.com
Sun Aug 23 23:50:37 PDT 2015


On 8/23/2015 11:40 PM, Jonathan M Davis wrote:
> To really replace macros - especially in a language that's already using them -
> you pretty much have to replace every use case for them, and I really don't see
> that happening to C++. Also, getting rid of macros would break C compatibility,
> which they won't do. Even if they add better alternatives to the language and
> recommend that you use those instead, they'll still support macros because of C.

C++ continues to support old, bad practices while relentlessly advocating other 
techniques as best practices. So far, I have not seen that w.r.t. the preprocessor.



More information about the Digitalmars-d mailing list