Omittable parens is an evil

Tomasz Sowiñski tomeksowi at gmail.com
Sun Jul 20 13:22:03 PDT 2008


Koroskin Denis Wrote:

> I think it should be used to address to the function itself, like  
> typeof(func), func.stringof, func.mangleof, etc.
> 
> func() <- function result
> &func  <- function pointer
> func   <- function itself

Good idea... Now all we have to do is figure out what this stuff has to do with const, to make Walter think about this :)



More information about the Digitalmars-d mailing list