logoalt Hacker News

Be intentional about how AI changes your codebase

61 pointsby benswerdyesterday at 9:23 PM24 commentsview on HN

Comments

ChrisMarshallNYyesterday at 10:30 PM

Because of the way that I use AI, I am constantly looking at the code. I usually leave it alone, if I can; even if I don't really like it.

I will, often go back, after the fact, and ask for refactors and documentation.

It works. Probably a lot slower than using agents, but I test every step, and it is a lot faster than I would do it, unassisted.

show 1 reply
gravitronicyesterday at 11:34 PM

*adds "be intentional" to the prompt*

Got it, good idea.

abcde666777yesterday at 11:54 PM

My intentionality is that I'll never let it make the changes. I make the changes. I might make changes it suggests, but only upon review and only written with my hands.

show 1 reply
clbrmbryesterday at 10:32 PM

Page not rendering well on iPhone Safari.

Good content tho!

benswerdyesterday at 9:23 PM

I've seen a lot of people talking about how AI is making codebases worse. I reject that, people are making codebases worse by not being intentional about how their AI writes code.

This is my take on how to not write slop.

show 4 replies
mrbluecoatyesterday at 10:28 PM

..but unintentional AI (aka Modern Chaos Monkey) is so much more fun!

show 1 reply
fhousertoday at 12:15 AM

[dead]

mika-elyesterday at 10:22 PM

[flagged]

show 6 replies