Computer Programming is the process of designing and writing a program that runs on a computer in order to achieve some result. This could be a program for basic addition, or a program to look up a word in a document, or a program to direct a robot’s movement, or even, an interactive program link what we call video games.
A computer can only be used if we can effectively talk to it. Programming languages allow us to write commands to a computer which are understandable by us, and then these commands are converted to machine language that allows the computer to actually understand the commands and act off of them. There are dozens of programming languages used in the industry today. Each language is typically used for certain types of programs. Some languages are specifically built for certain tasks (like HTML, PHP, or JS) while others are more general-purpose (like Python).
Examples of programming languages include:
Programmers tend to prefer to use certain general-purpose languages for certain tasks because of the libraries associated with them. Libraries consist of pre-written code that can be used by developers to make programming in a language easier for a certain purpose. We will go into more detail on these later. This is why people say certain tasks suit certain languages better. This is why Java is preferred for web development and C++ is preferred for game development. Also, some languages are preferred for certain tasks because they are purpose-built for those tasks. For example, PHP is purpose-built for Web Development, and LabVIEW is purpose-built for industrial applications.