property / getProperty() / setProperty()
aarti_pl
aarti at interia.pl
Sat Aug 1 12:53:19 PDT 2009
bearophile pisze:
> aarti_pl:
>> What you mean saying "attributes"?<
>
> See for example:
> http://en.wikipedia.org/wiki/Java_annotation
>
> It's not an esoteric thing, It's a way to add some extra semantics to a program.
> In a low-level language like D there are other possible purposes for annotations/attributes (that aren't useful in Java), you can add semantics that helps avoid bugs or can be used by the optimizer to increase the efficiency of the compiled program (GCC too has some of such function/variable attributes), I can show some examples.
>
> Bye,
> bearophile
Thanks for answer! I know Java annotations - I just didn't know what you
meant saying "attribute".
BR
Marcin Kuszczak
(aarti_pl)
More information about the Digitalmars-d
mailing list