r/LogitechG • • Sep 11 '23

Why do logitech software engineers still have a job?

Logitech Ghub is the worst software I've ever experienced when I bought some stuff from Logitech and after 2 years it's still garbage, they literally can't fix it. Why do they still have a job?

hardware is the best, but software is the worst

621 Upvotes

305 comments sorted by

View all comments

Show parent comments

5

u/Evantaur Sep 12 '23

Dunno, after seeing a simple boolean var as string with states like "(Checked)" and "(Not checked)" and an item value counter that defaults to 1 unless var is (Checked) I'm convinced some people write shitty code on purpose

4

u/TooMuchPangsai Sep 12 '23

having reviewed enough code, many of which several decades old, i can confidently tell you many experienced developers does it intentionally for job security.

and other developers who took over the code also follow along also for the same reason. fixing it would mean risking/introducing more bugs, which affects their performance. so they just played along and follow their ancestors.

3

u/halsafar Sep 12 '23

Correct, fixing legacy code is risky and potentially introduces more bugs. It is rarely on the positive side of cost analysis but does fall into the tech debt category. Business decisions need to weigh in as much as holistic coding practices. Why do you think people maliciously avoid it? Rather the business goals have people focus on things that turn into revenue while simultaneously burning down tech debt at a reasonable pace to not introduce bugs/risk.

2

u/hooberschmit Sep 15 '23

Yeah, you seem to have a much more reasonable understanding of how this happens. IMO there are a few things that converge on causing shitty code to be developed and propagated:
- Juniors writing prototypes which turn into full products
- Staff turnover, resulting in no one feeling confident changing the fundamental structure
- Deadlines and conflicting priorities causing code quality to be sacrificed for short term speed.
- Lack of motivation / incentive to care about the product. If the company thinks of it like an afterthought, chances are the team will adopt this mentality and "good 'nuff" every task

I think it's possible that someone would write bad code intentionally for job security, but I think there are a lot of poor managerial reasons that would put someone in the mindset to begin behaving like that. I also think it is unlikely. I think most people have a desire to do good work, especially if they feel like their team values them, their company values them and the world values them. The opportunity to feel like a craftsman when you are programming is basically a peak experience and maybe if someone was so poorly managed that they felt denied the opportunity to develop themselves they _might_ do this. I prefer to think they would leave, and then staff turnover as a cause of bad code would be the real thing causing it.

1

u/Shitpid Sep 12 '23

Nah. Code reviewed by experienced devs does not get merged. The only time this happens is in one-man shops.

1

u/TooMuchPangsai Sep 13 '23

you speak as tho svns exists in the 90s lmao

1

u/Shitpid Sep 13 '23

I didn't, but okay.

1

u/TooMuchPangsai Sep 13 '23

Code reviewed by experienced devs does not get merged

1

u/Shitpid Sep 13 '23

And what does that have to do with the 90s?

1

u/DistraughtPeach Sep 14 '23

People didn’t review code like we do now in the 90s and they did not use git. TFS maybe.

1

u/Shitpid Sep 14 '23

I'm aware haha

1

u/Yellowcasey Sep 15 '23

Not sure of the language used, but originally C didn’t have Boolean types. This isn’t uncommon and it’s viewed as best practice in old code bases.