News for hackers. Stuff that matters.
Re:The Grug Brained Developer by Barrin92 on Monday October 30, 2023 @07:52PM (#38077687)
>They are not thinking about every single line of code that they write

Honestly for me over-engineering is usually the result of the opposite. Thinking too much when writing and having preconceived ideas about what a codebase ought to look like.

It was Casey from Handmade Hero IIRC who called his style of programming "compression based", effectively just writing code and factoring out what belongs together incrementally. Abstracting things out as they repeat, not consciously by design. I've taken this up more and more as a way to program.

Re:The Grug Brained Developer by Trasmatta on Monday October 30, 2023 @07:57PM (#38077744)
Agreed. Over engineering happens when you overthink every line of code, not when you fail to think about every line.
Re:The Grug Brained Developer by buzziebee on Monday October 30, 2023 @09:58PM (#38079177)
I've heard it described as WET. Write Everything Twice. As long as it's not a crazy amount of duplication or a really obvious refactor (especially if it leads to more readable code), writing something a second time will start to show a clear pattern and abstractions will naturally develop.

Some fellow devs seem to live creating big beastly complex abstract PatternFactoryClassBuilderGenerators for simple one off use cases which should be quite simple.

Having devs and PMs on board with adding estimations and spending the time actually doing that refactor on the second or third time you're following a pattern is the tricky bit. It pays dividends long term though as you maintain velocity.