dmd 1.074 and 2.059 release

Nick Sabalausky SeeWebsiteToContactMe at semitwist.com
Fri Apr 13 14:10:24 PDT 2012


"Adam D. Ruppe" <destructionator at gmail.com> wrote in message 
news:oznqhjdcwecwmjmycide at forum.dlang.org...
> "Strive to make to­Hash, toString, opE­quals and opCmp func­tions pure, 
> nothrow, const and @safe. Soon, this will be­come a re­quire­ment."
>
> man, that's a lot of decorations.
>

Must be time for a party!

>
> This kind of thing makes me thing we should have opposites:
> impure, maythrow, mutable, and @system. And virtual, while
> I'm at it.
>

My bikeshed is painted:
!pure
!nothrow
!const

> Then it might be a lil easier to just go
>
> module lots.of.decorations;
> pure:
> const:
> @safe:
> nothrow:
>
>
> and undecorate as needed. We seem to be moving in this
> kind of direction.

I like it.




More information about the Digitalmars-d-announce mailing list