r/badcode • u/646c726f576f6c6c6548 • Apr 07 '21
java Apparently Java can only handle 255 parameters in a constructor...
4.0k
Upvotes
r/badcode • u/646c726f576f6c6c6548 • Apr 07 '21
View all comments
Show parent comment
1
u/Lost4468 Apr 08 '21
Not off the top of my head because it's hard to recall something I could also write here. One thing that's not uncommon to see is large structures like matrices or similar have a parameter for every part of themselves.
But I don't know why you're acting like this is rare in languages like python? It's very common to pass around a large number of parameters, it's not bad design in python.