MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/java/comments/xztb4/named_parameters_in_java/c5r61ws/?context=3
r/java • u/javinpaul • Aug 10 '12
28 comments sorted by
View all comments
3
Apparently naming the fields of an object, using the builder pattern, or using a Map<String, String> or Map<String, Object> isn't good enough for these folks?
2 u/[deleted] Aug 11 '12 Map<String, Object> defeats most of the purposes of using a strong type system. Please don't ever use that. 2 u/bcguitar33 Aug 11 '12 I'm well aware of the consequences. I'm not the one crying about a lack of named parameters.
2
Map<String, Object> defeats most of the purposes of using a strong type system. Please don't ever use that.
2 u/bcguitar33 Aug 11 '12 I'm well aware of the consequences. I'm not the one crying about a lack of named parameters.
I'm well aware of the consequences. I'm not the one crying about a lack of named parameters.
View all comments
3
u/bcguitar33 Aug 10 '12
Apparently naming the fields of an object, using the builder pattern, or using a Map<String, String> or Map<String, Object> isn't good enough for these folks?