News for hackers. Stuff that matters.
Re:I don’t buy “duplication is cheaper than the wrong abstra... by wvenable on Tuesday August 29, 2023 @03:19PM (#37312535)
You don't have to write functions. Have you ever seen a 10,000 line code that was just a single function -- I have. It also had nested if statements 5 levels deep to handle all sorts of logic with lots of duplication. It was unmaintainable. Yet it did meaningful work and it could have been refactored to a fraction of the size and do the same work. But, to be honest, when I had to fix it I just went it and fixed in the 20 places that needed changing because it was impossible to follow.

You like good abstractions and you hate bad abstractions. I couldn't agree with that more.

There are no comments on this comment yet.