List of bad code that I found in the production environment
Complex Unnecessary Steps
I saw an app that consumes a stream of data and feeds it into many steps. It is even doing it back and forth.
Unnecessary steps.
Just because other apps use the same step. That does not mean you have to. I removed all the steps, but one. The app becomes faster, less code, and less bugs. No behavior changed.
I suspect the programmer uses a boilerplate or copies another project without understanding all the moving parts.
Using A Drill Without Reading A Manual
I find an app that parses a JSON text using a third-party library and then converts it into an object. Adding additional complexity without knowing that the library support accessing the object directly.