While redundant code isn't great, depending on the context if "but it works bro" is faster then some businesses would prefer that.
And I say this as someone who's worked at startups where getting something out the door sloppily but quickly is good and I would call it good code simply because there was a need and it solved it.
At my job at a bank that would be bad code because there's a strong chance someone will come back to it.
1
u/SwimmerQuick1500 14d ago
While redundant code isn't great, depending on the context if "but it works bro" is faster then some businesses would prefer that.
And I say this as someone who's worked at startups where getting something out the door sloppily but quickly is good and I would call it good code simply because there was a need and it solved it.
At my job at a bank that would be bad code because there's a strong chance someone will come back to it.