Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
DBX126694yOver-engineered because I like to produce that stuff. Under-engineered tends to need more work in the future for unexpected changes.
-
Gxost3014yOver-engineered because it's usually extensible. Under-engineered code requires rewriting in some time.
-
bagfox8724yDoesn’t matter to me personally, but usually under-engineered because it’s usually faster to do stuff than over-engineered things.
And time is always running out! -
Bibbit7374yOver-engineered code indicates modularity/api-like functions. Which makes it easier for me personally to implement and adapt. And I prefer modularity over anything else! Under-engineered is okay until it gets too much responsibility. I would only use that if I need to learn to write that/similar code myself.
-
witchDev7644yOver engineered code coz there is nothing worse than lazy under engineered code. I hate laziness.
-
irene33914yIt depends on how opinionated your stack is. Add some damn comments so I know what your bullshit code is trying to do regardless of how over or under-engineered it is.
Code used once is an anomaly.
Code used twice is a coincidence. Code used thrice is a code pattern.
Don’t invent a code reuse pattern unless something repeats at least three times and you know it is unlikely to change. Even three times you can wait for the fourth time to build and use the pattern for the first three. -
iamai20044yOverengineered code. Just to cover all bases for potential issues and possible enhancements.
-
I think most people in the "over" camp are confusing over-engineered with perfectly engineered.
Which do you prefer over-engineered or under-engineered codes?
question