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
133
u/bundabrg Apr 07 '21
I have one vendor who has a single column of 128 characters in a table. Just one column.
It's a hospital thing so patient number is characters 5-8, ward characters 10-13 etc with every char used.
It gets worse. The patient number got too large so.patient number is now characters 5-8, then append character 106 and character 119.
And there's lots more insanity like this. I swear when we got the documentation the person giving them to us sounded ashamed on the phone (not their fault, they inherited it).