News for hackers. Stuff that matters.
Re:There’s No Such Thing as Clean Code by hinkley on Friday January 28, 2022 @10:50AM (#30116126)
This is a very self-centered way to think about things. I don’t mean selfish, I mean thinking as a “me” problem instead of an “us” problem.

If I have to rewrite a bit of my code then them’s the breaks. But I work on a team, sometimes a big team. I don’t have “a house” I have a construction crew that is building many houses and will go on building them. If they’re doing it wrong then I have not only the problem in front of me but five copies elsewhere. And I can’t fix problems N times faster than they are made. And I can’t always sell them on the better technique, even when there are demonstrable problems with theirs.

Re:There’s No Such Thing as Clean Code by skohan on Friday January 28, 2022 @12:03PM (#30117352)
I want to work with people who I trust to rewrite my code.

And of course I don't mean that you should check in code which is a mess. But from the time you start a feature to the time you open a PR, you can go through several iterations of messy code before arriving at a solution which is fit to share with your colleagues.

Re:There’s No Such Thing as Clean Code by hinkley on Friday January 28, 2022 @01:07PM (#30118245)
I do too, but I can’t spend my whole life interviewing, and sometimes great teams just run out of money.