Named Parameters in Java

I lately came across some code that looked like this: o.doSomething1(     "Alfred E. Neumann",     "http://blog.schauderhaft.de",     42,     "c:\\temp\\x.txt",     23); Things were actually worse since there where about 20 or 30 such calls and there was no hint what so ever to the difference in meaning of [...]

Posted in: Softwaredevelopment by Jens Schauder 9 Comments , ,