What are the worst parts of D?

ketmar via Digitalmars-d digitalmars-d at puremagic.com
Sat Sep 20 10:30:59 PDT 2014


On Sat, 20 Sep 2014 14:42:47 +0000
Tofu Ninja via Digitalmars-d <digitalmars-d at puremagic.com> wrote:

> Oh another bad part of D is the attribute names with some being 
> positive(pure) and some being negative(@nogc) and some of them 
> not having an @ on them.
and no way to revert 'final' in classes, for example. or 'static'. i
mean that i want something like this:

  class A {
  final:
    void foo () { ... }
  virtual:
    void bar () { ... }
  static:
    void heh () { ... }
    // and there is no way to declare non-static fields anymore...
  }

yes, i know that i can use `final {}`, but it looking ugly. and i
prefer to declare fields at the end of class declaration. annoying.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20140920/b67c29de/attachment.sig>


More information about the Digitalmars-d mailing list