Sometimes it is not the developers are lazy, they are actually incompetent.
I tried to explain to a developer and a DBA how to write dynamic SQL, both looked at me liked blank. Maybe I was not a good teacher. However they never even heard of dynamic SQL which I was surprised. The DBA had 4 years experience and the developer had over 8 years experiences. I did not how they survived. Actually the developer later on got promoted to become the manager. It was a mess. I found out she was a good friend of the VP's wife.
Both of them were very popular in the office, they were the social butterfly. 😉