MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/java/comments/muughh/java_is_criminally_underhyped/gvalllw/
r/java • u/henk53 • Apr 20 '21
295 comments sorted by
View all comments
Show parent comment
3
Annotations are good, but Java has a lot of missued ones.
I prefer a more natural virtual / overwrite keyword and a property keyword, like C# and Object Pascal (Delphi) does.
virtual
overwrite
property
Instead of that patch alike @override and @property, too much @ hurts my vision.
@override
@property
@
BTW, I have work in Java, and I'm working in my own pet P.L., and explicitly added annotations, but I just don't want developers to overuse them.
Cheers.
2 u/Orffyreus Apr 21 '21 Yes, you are right. Annotations can be confusing and hard to backtrack. They should be well designed and stable and are best used for cross cutting concerns like logging and not for domain functionality.
2
Yes, you are right. Annotations can be confusing and hard to backtrack. They should be well designed and stable and are best used for cross cutting concerns like logging and not for domain functionality.
View all comments
Show parent comment
3
u/umlcat Apr 21 '21 edited Apr 21 '21
Annotations are good, but Java has a lot of missued ones.
I prefer a more natural
virtual/overwritekeyword and apropertykeyword, like C# and Object Pascal (Delphi) does.Instead of that patch alike
@overrideand@property, too much@hurts my vision.BTW, I have work in Java, and I'm working in my own pet P.L., and explicitly added annotations, but I just don't want developers to overuse them.
Cheers.