Programming is hard. Well, anything technical is inherently hard. With that out of the way, today I’m writy a short post to let you in on a secret about what is
pragma in the world of programming languages.
So, What Does “Pragma” Mean in Programming?#
Pragma is short for pragmatic information. So, simple. In plain English, pragmatic is an adjective that means sensible and practical. In programming, pragma refers to:
- The code that consists of useful information on how a compiler or interpreter or assembler should process the program
pragmadoes not contribute anything to the programming language itself
pragmaonly affect the compiler behavior
pragma‘s syntax may vary