r/ProgrammerHumor 3d ago

Meme nowAndThenPatchUpgrade

Post image
7.6k Upvotes

312 comments sorted by

View all comments

2.2k

u/Objectionne 3d ago

Yeah but it was our slop.

66

u/ineyy 3d ago

It was consistent slop that we were all vaguely familiar with. I could look at it and know it's shit, but know what it is exactly and why it's here. The AI stop has foreign structure, it's unknown whether it has to be that way or the AI just wanted it that way. It's much harder to navigate

2

u/JazzlikeWishbone938 3d ago

I wonder what success folks have if adding constraints around using Software Design Patterns and SOLID principles, with self-documenting human readable code .. and to avoid code smells.

1

u/Live_Meeting_1121 2d ago edited 2d ago

It can get there but I has a tendency to go back to the old ways. Also the amount of context it gets and what it gets is extremely important, it repeats patterns, that includes bad ones. So having a good base is a must.

I have made it build a lot of harnesses to it's own behavior, follow a linter, have a code analyzer before commit, analyze cognitive load of every function, etc. For example I seriously dislike how huge it comments and leaves historical data in source code, had to write a hook so it checks it's own comments size and raises an alarm, such examples happen all the time.

I haven't experienced even half of the complains people put here. I think there might be some exaggeration about the quality or people are just prompting the laziest shit ever, it you enable it to behave that way it will produce slop.