I get this a lot. Programs are written - in code. Codes can now be represented by blocks or objects describing your actual code instructions. In this way, coding became much easier as a practice of writing programs.
Then, there's a programmer. A piece of hardware to some, a piece of software to others and a profession to the rest of us. At some point, a human coded a set of instructions into a story of what should happen when the program is run. You will of course need all three of the above components as programmers.
Most successful programmers working for large organisations even earn the right to be called "Corporate owned error generators". In the end, a few humans invented code, many others used code to program everything from machines to personal devices so the rest of us can use them to advance and improve our technological Society.