More Opinions On Optional
Read OriginalThis article analyzes the ongoing debate around Java's Optional type, specifically its use for method parameters. It addresses common criticisms, like call site clutter, and presents counterarguments based on practical experience. The author compares modeling absent values via nulls, method overloading, and Optional, examining their behavior in different scenarios.
Comments
No comments yet
Be the first to share your thoughts!
Browser Extension
Get instant access to AllDevBlogs from your browser