CNC machining relies heavily on programming. Human programmers have to type in the correct codes and make sure they work. Without code, there is no CNC machining.
The language behind CNC machining is also known as G-code. Most manufacturing machines have codes to dictate one or both functions. G-code is much more complicated than that.
G-code will control many different behaviors in a CNC machine. These include speed, feed rate, and coordination.
Once the G-code is written and fed into the machine, little human intervention is required. The code does most, if not all, of the work for them.