DEV Community

Discussion on: What simple things annoy you about your favourite programming languages?

Collapse
 
czdanol profile image
Danol • Edited

[D] I cannot decorate enum members with user defined attributes :/

@("This works") int x;

@("This also works") enum E {
  @("This does not work") a
}
Enter fullscreen mode Exit fullscreen mode
Collapse
 
mortoray profile image
edA‑qa mort‑ora‑y

Inconsistency is a plague across so many languages. Features that can only be used on certain constructs. It creates all sorts of mental overload, and results in one not using all the features where possible.