A programmer is someone who writes an application, which are oftentimes several instructions sent to a machine to achieve certain operations: manipulate text, make use of math… and control most aspects of the computer’s functions. So, if you code AppleScript, you are a programmer. If your app is a simple “display dialog” command, you are a programmer (a slothful programmer, of course).