Should we have an Unimplemented Attribute?
Andrej Mitrovic
andrej.mitrovich at gmail.com
Wed Feb 2 16:16:00 PST 2011
On 2/3/11, Jonathan M Davis <jmdavisProg at gmx.com> wrote:
>
> Usually the thing to do would be to either comment them out or put an
> assert(0)
Can't do that with classes and struct.
> Regardless, I question the wisdom in adding something into the
> language which _encourages_ you to leave in unfinished code.
>
My use case was protection for the user from using unfinished code by
accident and as a reminder on how much work you're left to do as a
library writer. But you might have a fair point here.
More information about the Digitalmars-d
mailing list