I'd wager that you never took an economics course in your life.
Most coders just copy whatever they've seen before.Coding requires creativity, optimization, and foresight, qualities many economists unfortunately do not have.Good coders come up with an idea and decide the general logic before they start writing. They might copy and paste syntax here and there, but that's only a part of the equation. Even for the stuff they copy paste they still need to adapt it to the business problem, scope out edge cases, and make it as efficient and scalable as possible. That takes solid problem solving skills. OTOH academic economists start out by copying an idea and then manipulate the language to make it seem novel when it's not. That's not technical creativity or problem-solving, that's writing. Literature review takes up half of research papers lol.