Oh, that’s why I don’t like Java parameter passing
One of my coworkers didn’t like my 10ish parameter argument Java method during a code review. I admitted it looked awful and modifying the parameters to pass in was a serious annoyance. We end up refactoring the code to use an intermediate object, which worked fine. But I wondered why I haven’t faced the same thing in Python during my Django projects.
Then I realized - when specifying any more than a couple of parameters in Python I name them as they go in. Named parameters make it easy to mix and match the parameters without getting confused.
Java needs to get with the program. Except for C and C++, Java is the only major language that doesn’t support named parameters.