Normalizing Const Syntax.

Scott S. McCoy tag at cpan.org
Thu Apr 10 23:54:09 PDT 2008


On Thu, 2008-04-10 at 14:03 +0100, Janice Caron wrote:
> However, there is a reason why Walter has not made const-at-the-front
> illegal, which is that /he likes it/. And so far as I can gather, the
> reason that he likes it is because it means he is able to write
> 
>     const
>     {
>         /* lots of functions */
>     }
> 

That, and when compared to the rest of the language syntax, it makes a
whole lot of sense.  However; the problem I think is mostly in the
keyword.




More information about the Digitalmars-d mailing list