A prime example of poor implementation that comes to mind is MCAS in Boeing 737 Max[0].
[0] https://en.wikipedia.org/wiki/Maneuvering_Characteristics_Au...