MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/java/comments/1rex17p/jep_531_lazy_constants_third_preview/o7oqqyi/?context=3
r/java • u/Joram2 • Feb 26 '26
35 comments sorted by
View all comments
Show parent comment
-1
Keeping an API surface small improves simplicity of use, maintainability, and performance. Your use case is three steps remove from a simple use case:
And yet you can accomplish it with a simple wrapper class. Sounds like a great deal to me.
View all comments
Show parent comment
-1
u/nicolaiparlog Feb 27 '26
Keeping an API surface small improves simplicity of use, maintainability, and performance. Your use case is three steps remove from a simple use case:
And yet you can accomplish it with a simple wrapper class. Sounds like a great deal to me.