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
0
u/Siggi_pop Apr 07 '21
What am I missing here??
If you pass a JSON object as parameter to constructor then you have teoretically unlimited wrapped properties i.e. key/value pairs (not parameters) .....but then again....you can do that with any object/reference type, even XML will do the job.