News for hackers. Stuff that matters.
Re:Tesla engineers were on-site to evaluate the Twitter staf... by Areading314 on Saturday October 29, 2022 @11:20PM (#33390688)
Fixing bugs is part of the job. If you care about the product you work on, you have to fix the bugs and not whine about who originally wrote the code.
Re:Tesla engineers were on-site to evaluate the Twitter staf... by b4je7d7wb on Sunday October 30, 2022 @01:17AM (#33391315)
Sure. But also if all you do is fix bugs, unless they are really hard and complex ones in occasionally new domains it's probably not the best career path.

As an example fixing trivial styling, dead links, documentation, flaky tests. Work that is important and has to be done, but not something to drown yourself in. Sometimes it's also better to try to solve the root causes, like use css variables, introduce swagger or a more reliable test framework. You want the engineer who codes themselves out of the job of trivial tickets.

Re:Tesla engineers were on-site to evaluate the Twitter staf... by Areading314 on Sunday October 30, 2022 @01:36AM (#33391423)
fixing bugs is more important than trivial stuff like swagger, css variables, or adding new test frameworks. Function over form
Re:Tesla engineers were on-site to evaluate the Twitter staf... by 411111111111111 on Sunday October 30, 2022 @02:17AM (#33391693)
But isn't having no bugs to begin with better then fixing them later?

The argument was that you'll have less bugs if you use these technologies after all. And I have to agree wrt styling inconsistencies and css variables at least. They're extremely good at standardizing design without getting in the way of the developer

Re:Tesla engineers were on-site to evaluate the Twitter staf... by Areading314 on Sunday October 30, 2022 @02:25AM (#33391736)
CSS variables, test frameworks, are good tools for catching bugs -- but at the end of the day the goal is that the code should work and be easily maintainable. Best practices help you do that, but theres many instances of a code base full of bugs that has to be maintained and improved over time. Developers who turn up their nose at "fixing bugs" are of no use to a business. These ideas are great when starting a new codebase but thats not the situation a developer is going to be in most of the time in practice. And if you follow every best practice there will still be bugs that need to get fixed.
Re:Tesla engineers were on-site to evaluate the Twitter staf... by 411111111111111 on Sunday October 30, 2022 @02:30AM (#33391766)
You're arguing with a straw man then. Their argument was that only solving bugs is an issue, because you should be taking preventative measures so they're occurring less frequently.
Re:Tesla engineers were on-site to evaluate the Twitter staf... by Areading314 on Sunday October 30, 2022 @02:38AM (#33391802)
If the bugs are all your doing, I agree. But many times the developers working on a project are maintaining code that was written years ago before they even joined the company, by other devs that had totally different incentives.
Re:Tesla engineers were on-site to evaluate the Twitter staf... by krashidov on Sunday October 30, 2022 @03:42AM (#33392115)
Honest question - have you ever worked on a codebase with 0 bugs? I don't think that's feasibly. What you're asking for is an infallible god-like programmer.

You will always have bugs. The best engineers can solve the hardest bugs

Re:Tesla engineers were on-site to evaluate the Twitter staf... by 411111111111111 on Sunday October 30, 2022 @04:45AM (#33392480)
How did you get from "less bugs" to "0 bugs"?
Re:Tesla engineers were on-site to evaluate the Twitter staf... by cudgy on Sunday October 30, 2022 @07:32AM (#33393494)
Maybe because there’s a bug in your statements. You use “no bugs” and “less bugs” to describe the same point.
Re:Tesla engineers were on-site to evaluate the Twitter staf... by 411111111111111 on Monday October 31, 2022 @05:38AM (#33403637)
True, my autocorrect added an extraneous "s" to the first sentence. It's amazing how some people bend over just to create a narrative they can argue against.
Re:Tesla engineers were on-site to evaluate the Twitter staf... by learningstud on Saturday November 05, 2022 @11:45AM (#33482560)
It's feasible to create no bugs with formal specification and formal verification. For example, with Lean 4, one can add a proof for each array-access-by-index that the index is within the bound of the associated array. Every aspect of the codebase can be subject to formal proofs that are verified by the compiler. See also CompCert and Sel4.
Re:Tesla engineers were on-site to evaluate the Twitter staf... by paganel on Sunday October 30, 2022 @02:13AM (#33391668)
> it's probably not the best career path.

Which is a damn shame for our industry, fixing bugs should be a good career path.

Re:Tesla engineers were on-site to evaluate the Twitter staf... by DeathArrow on Sunday October 30, 2022 @03:00AM (#33391916)
I agree with it. There a rare subspecies of developers who enjoy fixing bugs. The more rare and obscure, the better. Maybe they derive the same kind of pleasure as a police detective solving a hard case.

I do believe they should be princely rewarded and I would hope there would be more of these people as this will allow us the people who enjoy building concentrate on it.

I believe there was a thread on HN two days ago of a guy who enjoys fixing bugs asking how he can make a business out of it. Chapeau to him!

Re:Tesla engineers were on-site to evaluate the Twitter staf... by qualudeheart on Sunday October 30, 2022 @08:44AM (#33393988)
Bug fixing is fun and easy. You just need a good test suite.
Re:Tesla engineers were on-site to evaluate the Twitter staf... by brailsafe on Sunday October 30, 2022 @02:51AM (#33391866)
I agree, but I do think that's kind of an imaginary enemy. I don't know that anyone said "All I do exclusively all year is fix trivial bugs in hacky or minimal ways". Probably what anyone does is a bit of this, a bit of new code writing, and a bit of new feature stuff.

That's essentially what I do. Sometimes bugs are quite mentally demanding to resolve, but a couple weeks of that begins to get really draining, so I try and move onto something more on the implementation side for a bit.

Re:Tesla engineers were on-site to evaluate the Twitter staf... by DeathArrow on Sunday October 30, 2022 @02:55AM (#33391887)
>If you care about the product you work on

I don't care about the products I work on. I don't own the product, I don't work for an NGO willing to change the world and the product would probably won't revolutionize the industry.

The product's only purpose is to make some people rich. And I don't care for it.

What I care about is being paid, learning, advancing my career and not being bored to death while I work.

So I do quality work because of that. I don't enjoy fixing bugs (some people do), so if I can avoid fixing bugs, I'm happier. I also try to ship as least bugs as possible and I test my code before pushing it. The code has to pass an QA cycle so I will fix my bugs if any. But if some bug is coming from production I'd rather pass on it and take on a feature instead.

Re:Tesla engineers were on-site to evaluate the Twitter staf... by sbarre on Sunday October 30, 2022 @09:23AM (#33394294)
So then you do care about the product you work on.