Agreed, but...
You still need someone to write the "pre-written code modules". They won't write themselves. Granted that does mean a smaller number of developers overall but until smart AI code-bots are invented someone somewhere does have to produce code.