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/Lost4468 Apr 07 '21
Which means you haven't designed your setup properly. Again no excuse.
This is a ridiculous thing to say. How do they kill the device? That's not how this works.
As I said, if you're setup like this then it's a huge mistake. There's no justification for it, it means the company doesn't know what they're doing and they're going to set development time back significantly and cause all sorts of other problems.
There's no excuse for this with the exception of a few very specific circumstances, e.g. an ASIC is being designed and fabricated, but that ages to do so for now there's no real hardware to test on. And even in that situation you don't just not test, you just test in a simulated environment. As far as not testing at all, I'd go so far as to say there's never an excuse for that.
E.g. what if you're designing software for a rocket? Obviously you can't just test it on a rocket every time. Does that mean you just program away and then after a while test it on a rocket and hope it works? No that's ridiculous. You write a simulated environment to test it in, then test all your code in there.