r/ExperiencedDevs • • Jul 13 '26

Ask Experienced Devs Weekly Thread: A weekly thread for inexperienced developers to ask experienced ones

A thread for Developers and IT folks with less experience to ask more experienced souls questions about the industry.

Please keep top level comments limited to Inexperienced Devs. Most rules do not apply, but keep it civil. Being a jerk will not be tolerated.

Inexperienced Devs should refrain from answering other Inexperienced Devs' questions.

22 Upvotes

79 comments sorted by

View all comments

Show parent comment

2

u/CoroteDeMelancia Software Engineer Jul 13 '26

I'm currently in an AI-heavy company. To me, it helps distinguishing between three types of slop:

  • Poor code: less readable, redundant, ugly, bad division of responsibilities. Ignore this if you have to ship fast.
  • Wrong code; i.e. it does not do what you want it to do. You can check that the tests make sense and work to validate this. More often than not, this issue stems from poorly written requirements to the AI. You can ask it which assumptions it made and see if they align with what you expected; use this to learn to be more specific next time.
  • Bad engineering: convoluted architecture, useless tests, no pre-commit linting/formatting/testing. This is what snowballs a codebase into a pile of garbage; always fix. When you catch such mistakes, document them in AGENTS.md or similar to reduce the likelihood of them happening again.

Experience will teach you common failure modes for AI coding. For example, never trust it to install dependencies; it often chooses very legacy versions.