C++ const expression are not that const after all

H. S. Teoh via Digitalmars-d digitalmars-d at puremagic.com
Tue Apr 28 14:45:34 PDT 2015


On Tue, Apr 28, 2015 at 01:56:01PM -0700, Walter Bright via Digitalmars-d wrote:
> On 4/28/2015 8:16 AM, bearophile wrote:
> >Luc Bourhis:
> >
> >>The author of that blog seems to see his finding in a
> >>positive light actually. As it makes it possible to write
> >>more powerful template metaprograms!
> >
> >One of the essences of modern languages is to restrict the power of
> >the programmer in specific parts, to reduce unwanted interactions and
> >make complexity more manageable. His finding seems a design mistake.
> 
> Most languages suffer from quirky, unexpected behaviors from
> interactions between otherwise sensible features. The awful thing,
> though, is programmers discover these things and then build a store
> around them, making it impossible to fix those quirks.

Are you certain D doesn't suffer from the same problem? ;-)


T

-- 
There is no gravity. The earth sucks.


More information about the Digitalmars-d mailing list