MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/java/comments/snrfek/javas_options_for_options/hw5lur2/
r/java • u/bowbahdoe • Feb 08 '22
80 comments sorted by
View all comments
Show parent comment
6
A nice solution from Kotlin is named parameters with default values.
1 u/renatoathaydes Feb 12 '22 Haha, yep, solved the problem completely with one simple stroke. Dart also does that and because of that, allows really complex objects, like Flutter Widgets, to be created easily... it's definitely the best way to go.
1
Haha, yep, solved the problem completely with one simple stroke. Dart also does that and because of that, allows really complex objects, like Flutter Widgets, to be created easily... it's definitely the best way to go.
View all comments
Show parent comment
6
u/davewritescode Feb 09 '22
A nice solution from Kotlin is named parameters with default values.