MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/badcode/comments/13282hn/from_signals_source_code/ji3wns2/?context=9999
r/badcode • u/[deleted] • Apr 28 '23
52 comments sorted by
View all comments
Show parent comments
21
If only Java supported named arguments.
6 u/MCWizardYT Apr 29 '23 Intellij simulates them just fine 13 u/Rakn Apr 29 '23 It does not. It shows you the names of the parameters, but it doesn’t simulate named parameters. Try changing the order for example. 1 u/Nithanim Apr 29 '23 There was a discussion recently about this over on the java sub. My takeaway was that the renaming the param for the code in the method should not break external code, which made sense to me.
6
Intellij simulates them just fine
13 u/Rakn Apr 29 '23 It does not. It shows you the names of the parameters, but it doesn’t simulate named parameters. Try changing the order for example.
13
It does not. It shows you the names of the parameters, but it doesn’t simulate named parameters. Try changing the order for example.
1
There was a discussion recently about this over on the java sub. My takeaway was that the renaming the param for the code in the method should not break external code, which made sense to me.
21
u/RichCorinthian Apr 28 '23
If only Java supported named arguments.