What is programming?

We have all heard about computer programming which has gained a lot of popularity in the past three decades. Many students these days want to choose a computer science major to get a job in their dream technology company like Google, Facebook, Microsoft, Apple, etc.

But the first step to start it all is to understand what programming or programming is.

Read also: What is coding and how does it work?

What is programming?

in the clouds Programming is a method of “instructing a computer to perform various tasks”. confusing? Let us understand this definition in depth.

Computer Guidance : Basically this means that you give the computer a set of instructions written in a language that the computer can understand. Instructions can be of different types. For example:

  • add two numbers,
  • rounding numbers, etc.

Just like us, humans can understand several languages ​​(Indonesian, English, Spanish, Mandarin, French, etc.), as well as computers. Computers understand instructions written in a specific grammatical form called a programming language.

Doing different tasks : Tasks can be simple as we discussed above (adding two numbers, rounding numbers) or complex tasks which may involve a series of several instructions. For example:

  • Calculate simple interest, given principal, price and time.
  • Calculates the average stock return for the last 5 years.

The above two tasks require complex calculations. It usually cannot be expressed in simple instructions like adding two numbers, etc.

So, in short, programming is a way of telling a computer to perform a specific task.

Why should humans have trouble writing programs?

You must be wondering, why would someone need a computer to add or round numbers? Or even for simple interest calculations? After all, even a small child can easily do such things even in large numbers. What programming is used? What are the benefits provided by the computer?

Well, computers offer a lot of benefits including:

1. Fast computers

Computers are very fast. If you know how to properly harness the power of computer programming, you can do miracles with it. For ordinary computers today, adding two numbers that can each reach a billion hardly takes a nanosecond. That is, in one second, the computer can do about a billion additions. Can humans do that? Forget about a billion additions per second, the average person can’t even do 10 additions per second. Therefore, the computer provides high speed.

2. Cheap computers

If you are a stock market analyst and you have to monitor the data of 1000 shares for example so that you can trade them quickly. Imagine how complicated it would be if you did it manually! This is not practical. When making calculations on stock performance, prices can change.

Another alternative is hiring people so you can monitor more stocks in parallel. This means that your costs go up significantly. Not to mention the difficulties you will face if some of your employees make wrong calculations in the process.

You may lose money! Compare with the situation in which you are using the computer. Computers can process large amounts of information quickly and reliably. 1000 posts is not a thing for computers in the 21st century.

3. The computer can work 24×7

The computer can work 24/7 without getting tired. So if you have a big task, you can assign it to your computer without worry by programming it and get a good night’s sleep.

What is a programming language?

As we know English is the most popular and well-known human language today. The English language has its own set of grammar rules, which must be followed in order to write in English correctly.

Similarly, other human languages ​​(Indonesian, Arabic, German, Spanish, Russian, etc.) consist of several elements such as nouns, adjectives, adverbs, propositions, conjunctions, etc. Therefore, like English, Indonesian or other human languages, programming languages ​​also consist of various elements.

Just like human languages, programming languages ​​also follow a grammar called syntax. Programming languages ​​provide a way for a programmer to express a task so that it can be understood and performed by a computer.

There are some basic program code elements common to all programming languages. The most basic elements of a programming language are:

  • programming environment
  • Data types
  • Variables
  • Key words
  • Logical and arithmetic operators
  • If there are other conditions
  • Episodes
  • Numbers, letters, and matrices
  • mission
  • I/O process

Examples of programming languages ​​and their uses

Python Web and Internet Development, Scientific and Digital Applications, Desktop GUI, Business Applications. It is widely used in the field of artificial intelligence and machine learning.
Java It is mostly used to develop Android apps, web apps, and big data.
s Data science projects, statistical computing, machine learning
JavaScript Uses of JavaScript include web/mobile application development, games, and desktop applications.
PHP Web development, content management systems, e-commerce applications
C++ C++ is widely used in game development, advanced computation, and graphics assemblers
bad # Widely used in cross-enterprise applications and web application development
Swift Swift is a custom-built language that works with Apple’s Cocoa and Cocoa Touch frameworks to create all kinds of iOS apps.
SQL used in the database
he goes Console utilities, GUI applications, and Web applications

Why should you learn programming?

Now, after knowing so much about programming or programming, the big question to answer is why should you learn computer programming? Let’s understand why:

  • Programming is fun: With programming, you can create your own games, blogs/profile pages, social networking sites like Facebook, search engines like Google, or e-commerce platforms like Amazon! Isn’t that fun? Imagine creating your own game, putting it on the Play Store and getting thousands of downloads!
  • The backbone of a technology company: The backbone of today’s technology companies like Google, Facebook, Microsoft, Apple, Amazon and many others, are giant computer programs written in collaboration with thousands of skilled programmers. If you have the right business acumen, a knowledge of programming can help you build your next big tech company.
  • Fairly good salary: Computer programmers are very well paid in almost all parts of the world. Even the top programmers in Silicon Valley, which includes many computer companies, earn millions of dollars each year. Some companies offer starting salaries of up to $100,000 per year.


So here’s an explanation of what programming means. I hope you enjoy reading. Computer programming is a very large field and there is a lot to explore further. Keep learning and keep exploring.

Lots of articles What is programming (programming). Look forward to other interesting articles and don’t forget to share this article with your friends. Thank you…

Leave a Comment

/* */