A Computer Programmer's main role is to write, test, and debug code that allows software applications to function correctly. They work with various programming languages to write code for different software applications and mobile apps, ensuring they operate smoothly on various operating systems.