[flagged]
Write code like a human will maintain it
11–20 of 325 posts
Re: Write code like a human will maintain it
#12For personal projects, I can trust that I myself will be maintaining things so I still write things like it matters, but I do not extend the trust to others.
Re: Write code like a human will maintain it
#13That sounds like a good idea, but shipping 10x as many features and bugfixes sounds better. I started using AI with the best intentions. Checking everything before committing. Improving output by hand if it didn't quite follow the existing code style guidelines or variables were not named as well as they should be. Or if it did something sloppy or hacky. Now, AI GOES BURRRRRRRRRRRR! If the tests pass it's good to shi…
Re: Write code like a human will maintain it
#14That sounds like a good idea, but shipping 10x as many features and bugfixes sounds better. I started using AI with the best intentions. Checking everything before committing. Improving output by hand if it didn't quite follow the existing code style guidelines or variables were not named as well as they should be. Or if it did something sloppy or hacky. Now, AI GOES BURRRRRRRRRRRR! If the tests pass it's good to shi…
Re: Write code like a human will maintain it
#15There is an old quote: "Add comments to your code under the assumption that the next person to maintain it is a homicidal maniac who knows where you live"
The comments that drive the most homicidal behavior are outdated or inaccurate comments rather than no comments.
Re: Write code like a human will maintain it
#16Re: Write code like a human will maintain it
#17[flagged]
Re: Write code like a human will maintain it
#18Humans have been writing unmaintainable code well before LLMs came along.
Re: Write code like a human will maintain it
#19Re: Write code like a human will maintain it
#20Funny enough, discussed this yesterday
Stop Optimizing Code for Humans https://youtube.com/live/eLn4-XA-KdQ?feature=share