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
4
u/deegeese Apr 07 '21
Large mathematical data structures use actual data structures like arrays or trees.
Having 255 properties is a pretty strong sign that the designer has failed to properly encapsulate unrelated classes.