News for hackers. Stuff that matters.
Re:The Wrong Abstraction (2016) by Trufa on Friday July 20, 2018 @10:55PM (#17580472)
Interesting indeed but the part that stuck with me the most is:

>> Existing code exerts a powerful influence. Its very presence argues that it is both correct and necessary.

I read the article in 2016 and that phrase stuck with me ever since, I had never thought about it but it's such a simple and self evident fact but so easy to miss. It's a powerful concept to know. Both when writing and when refactoring code.

Re:The Wrong Abstraction (2016) by vkjv on Saturday July 21, 2018 @02:34PM (#17583161)
I've heard this called "bunny code." It doesn't matter if it's good or bad, it'll reproduce.
Re:The Wrong Abstraction (2016) by hamandcheese on Saturday July 21, 2018 @01:33AM (#17580835)
This too is one of the few pieces of programming wisdom that I find unforgettable.
Re:The Wrong Abstraction (2016) by djsumdog on Saturday July 21, 2018 @08:54AM (#17581811)
If you're working to get a certain task done at your job, yes I can see wanting to minimally touch the code.

If something gets bad enough, I will refactor the whole damn thing, but only at jobs where there are unit tests. If there are no unit tests, this truly becomes an impossible task and it's best not to touch anything you don't need to.

You have to have good tests if you ever want to tackle technical debt.

Re:The Wrong Abstraction (2016) by nothingisnil on Saturday July 21, 2018 @03:47AM (#17581128)
Deleted not to please downvoters.
Re:The Wrong Abstraction (2016) by genezeta on Saturday July 21, 2018 @04:10AM (#17581192)
The point is not whether it is correct and necessary, but that its existence makes the argument that it is indeed so. What you mention is actually the insight that "it may not be". But you reach that idea _against_ the argument its presence is making.

That is, you find some code. Its presence says "I'm here for a reason", your answer of "maybe it's just because..." comes as, precisely, an _answer_ to that argument.

Neither the argument itself nor your answer are necessarily and always correct. This doesn't argue that point, just that the presence of a piece of code makes such an statement.

Re:The Wrong Abstraction (2016) by codetrotter on Saturday July 21, 2018 @04:23AM (#17581237)
The article explains what is meant.

> We know that code represents effort expended, and we are very motivated to preserve the value of this effort. And, unfortunately, the sad truth is that the more complicated and incomprehensible the code, i.e. the deeper the investment in creating it, the more we feel pressure to retain it (the "sunk cost fallacy"). It's as if our unconscious tell us "Goodness, that's so confusing, it must have taken ages to get right. Surely it's really, really important. It would be a sin to let all that effort go to waste."

Re:The Wrong Abstraction (2016) by your-nanny on Saturday July 21, 2018 @09:54AM (#17581972)
I think it is a mistake to call this a sunk cost fallacy. the other stuff is true, but it's not the same thing as the sunk cost fallacy
Re:The Wrong Abstraction (2016) by nullisnullish on Saturday July 21, 2018 @05:50AM (#17581454)
I really enjoyed you insighful comment. I can't understand all those furious downvoters. Perhaps they are a bad abstraction.
Re:The Wrong Abstraction (2016) by bothareright on Saturday July 21, 2018 @05:53AM (#17581462)
I really agree with both of you.
Re:The Wrong Abstraction (2016) by bothareright on Saturday July 21, 2018 @06:52AM (#17581573)
I should guess hamandchess and trufa are very young people, that are beginning in paid software. This explain they overvalue experienced programmers blogs.
Re:The Wrong Abstraction (2016) by Pica_soO on Sunday July 22, 2018 @04:44AM (#17585883)
The only thing experienced programmers truely value is profiling- write it, run it, measure it.

Advice is nice and all, but at the end of the day, even that new method to write code, gets to perform on the profiling table of your manager. OO ? Use it, run it against procedural or functional approach, measure it, decide.

Everything else is politics, religion and that one irresponsible guy who gets high on new things and away with it somehow, while touring companys.