r/badcode • • Apr 07 '21

java Apparently Java can only handle 255 parameters in a constructor...

Post image
4.0k Upvotes

249 comments sorted by

View all comments

Show parent comment

1

u/LeCrushinator Apr 07 '21

I think that was the original comment's joke, that you could have thousands or parameters if you just pass in a json object instead. So your original comment was simply restating that.

-1

u/Siggi_pop Apr 07 '21

I guess JSON threw me off, I mean it's JAVA.... close to everything is an object! Why would anyone introduce an (natively) unsupported datatype like JSON into the mix??

But maybe it adds something to the joke!? I mean JSON is a funnier word rigth!? And also it is funny when people act as they have almost no clue to what they are talking about.

2

u/[deleted] Apr 07 '21

Watchu talking about. The first word in json is java

1

u/Siggi_pop Apr 07 '21

Yeah, the first word (name actually) in JSON is JavaScript. As you know Java is to JavaScript as ham is to hamster! God forbid we confuse those two.

1

u/[deleted] Apr 08 '21

You do realize I was joking right?

1

u/Siggi_pop Apr 13 '21

Mine was funny though: as ham is to hamster...🤣