Re:Java 25 Officially Released
by cryptos on Tuesday September 16, 2025 @03:25PM
(#45266740)
One reason for that Java style is that Java was not such a powerful language for a long time. For example lambda expressions were only introduced in Java 8 (2014) and before that developers need to work around this restriction. A common workaround were/are some annotations above of methods and some reflection magic on top. For example a life cycle callback method annotated with @PrePersist is basically the same a registering a _function_. The whole Lombok library is a massive hack to circumvent some inconveniences in Java (and in my opinion no longer needed).
[ Parent
| on HN ]
There are no comments on this comment yet.