Re:The Current State of Java Value Types
by jdmichal on Thursday June 21, 2018 @08:21PM
(#17370272)
That sounds like a need for named and default constructor parameters. With the two of those, you can mix-and-match whatever values you want, with non-defaulted ones being required. And since the parameters are named, they self-document at the usage site.
[ Parent
| on HN ]
There are no comments on this comment yet.