Do you think it's worth paying the price of having unreadable and more error-prone code to have some performance improvement?
Read the full article: Should You Worry About Performance When Using java.util.Optional?
▸ lttr.ai/AdGqo#EffectiveJava#Java
Focus on writing good code, so when and if you need, it will be easy to optimize.
Read the full article: Should You Worry About Performance When Using java.util.Optional?
▸ lttr.ai/AUMQo#EffectiveJava#Java#100DaysOfCode
Effective Java by @joshbloch in 2024 anyone ?
Read the section on Exception Handling. Feels relevant.
What other sections should I read ?
#effectivejava#java#programming
Do you think it's worth paying the price of having unreadable and more error-prone code to have some performance improvement?
Read the full article: Should You Worry About Performance When Using java.util.Optional?
▸ lttr.ai/ASRkj#EffectiveJava#Java
If you're writing a public API, like a framework or library, and you don't know what kind of application is calling it, you may need to be more flexible and give the client the choice of using Optional.
Read more 👉 lttr.ai/AKua7#EffectiveJava#Java#100DaysOfCode