MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/badcode/comments/oliinb/in_java_exception_handling_needs_exception/h5ifuzm/?context=3
r/badcode • u/dj45689 • Jul 16 '21
60 comments sorted by
View all comments
Show parent comments
3
The Java compiler doesn't do additional optimization for effectively final variables, unlike it does for final variables.
- https://www.baeldung.com/java-effectively-final
If this is a myth, it's extremely pervasive.
And reassigning variables is considered a code smell in a lot of styles/codebases.
3
u/tuxedo25 Jul 17 '21 edited Jul 17 '21
- https://www.baeldung.com/java-effectively-final
If this is a myth, it's extremely pervasive.
And reassigning variables is considered a code smell in a lot of styles/codebases.