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

2

u/Lost4468 Apr 07 '21

Yeah exactly that's just a terrible company. It doesn't even generally make sense as a cost saver either, as the cost of the device generally is easily covered by how much easier development is made. If the device is so expensive that it doesn't make sense, then the answer is to simulate the device, and those devices very often supply that themselves anyway.

What equipment was it?

1

u/1studlyman Apr 07 '21

Yep. You are preaching to the choir on this one. I am the one pining and begging for the resources to do the testing. But even the budget to build simulated tests is met with a no. We have done a lot to explain the cost is actually a way to reduce future costs but to no avail.

The equipment is incredibly expensive and each is custom built so configuration deltas are many. It's a testing nightmare even if we were given the resources to have test equipment.

2

u/Lost4468 Apr 07 '21

That sucks. I guess not enough to find somewhere else to work though?

How do you even manage to get it working?

1

u/1studlyman Apr 07 '21

No, I am new to the company and have been here only a few years. If I had known their process lacked CI/CD and had no allowance to add it, I would have said no to the job offer. It'll be part of my interviewing from now on. To be fair, I interviewed with 5 different teams in the company and I found out later that each are extremely autonomous. So the development process is vastly different even within the organization and company.

To answer your question, the engineers are very good at what they do and they have worked in this paradigm for a long time. They are used to the pitfalls but still get caught once in a while. They could be more productive if they had more resources to help.

2

u/Lost4468 Apr 07 '21

Time to look for a new job then? I'm super curious what this is, I know you probably don't want to reveal it, but maybe you could point out an adjacent field that's similar enough, but not the same field?

2

u/1studlyman Apr 07 '21

I can't look for now as I am tied down by a tuition reimbursement agreement. That, and the work is actually rather fascinating and rewarding. I am trying to improve the process the best I can, but I don't get to choose in the end. The poor development process is my largest complaint, but it's not enough to make me want to move.... Yet.

I'll likely change my tune once my agreement is over and I am no longer bound.

And no, I really do not want to reveal where or what I work on. Suffice it to say it is a very niche field where my employer wants me to pursue a PhD if I can so I may be a better asset to the project.

2

u/Lost4468 Apr 07 '21

Oh right, sounds very interesting. A shame and strange that such an interesting company willing to use rather adventurous tactics like funding tuition, seemingly can't figure out basic things like CI/CD, or literally just testing...

1

u/1studlyman Apr 07 '21

lol right? It's a world-class company doing some cutting-edge stuff yet the state of this particular project's Software development process is abysmal. The juxtaposition gives me whiplash sometimes. But hey, gotta start somewhere with everything.

Nice talking to you. Have a good day. :)