I agree, formalising and breaking down the problem into smaller pieces is what causes difficulties. The code itself is a mere tool. But I also have to admit that certain programming languages are more apt for certain problems than others and thus influence the perceived difficulty of the problem.
RE: The code isn't the problem