Writing some code that actually works for the problem at hand, can be fairly easy.

Writing code that does this while being clean and efficient is a lot harder. How many slow, buggy programs have been written because the assigned programmer did not yet have the expertise needed to do it right?