What is Programming? Let's talk about it.

what is programming.
What is Programming

We all have heard about Computer Programming which has gained a lot of popularity in the last 3 decades. So many students these days want to choose Computer Science majors to get a job at their dream techs company like Google, Facebook, Microsoft, Apple, and others.

But the first step to start all that you have to understand what programming or programming.


What is Programming?

In terms, Programming is a way to "instruct a computer to perform various tasks". Confusing? Let us understand that definition in depth.

“Instruct the computer”: this basically means that you give the computer a set of instructions written in a language the computer can understand. Instructions can be of various types. As an example:

  • add 2 numbers,
  • Rounding numbers, etc.

Just like us, humans can understand several languages ​​(Indonesian, English, Spanish, Chinese, French, etc.), so can computers. Computers understand instructions that are written in a specific syntactic form called a programming language.

“Perform various tasks”: tasks can be simple as we discussed above (adding 2 numbers, rounding numbers) or complex tasks that may involve a sequence of several instructions. As an example:

  • Calculating simple interest, given principal, rate, and time.
  • Calculates the average stock return over the last 5 years.

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

Therefore, in summary, Programming is a way of telling a computer to perform a specific task.


Why Do Humans Have To 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 could easily do such things even in large numbers. What is programming used for? What benefits does the computer offer?

Well, computers offer a lot of benefits including:

1. Computers are fast

Computers are very fast. If you know how to properly harness the power of computer programming, you can do wonders with it. For today's ordinary computers, adding 2 numbers that can each reach one billion hardly takes a nanosecond. That is, in 1 second, the computer can do about a billion additions. Can humans do that? Forget a billion additions a second, a normal human can't even do 10 additions per second. So, the computer offers high speed.


2. Computers are cheap

If you are a stock market analyst and you have to monitor data of say 1000 stocks so that you can quickly trade them. Imagine the complexity that would arise if you did it manually! That's not practical. When you do calculations on stock performance, prices can change.

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

You may lose money! Compare this with the case where you use a computer. Computers can process large amounts of information quickly and reliably. 1000 shares are nothing for computers in the 21st century.


3. The computer can work non-stop.

The computer can work non-stop without fatigue. So, if you have a sizable task, you can worry-free allocating it to your computer by programming it and having a good night's sleep.


What is a Programming Language?

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

Likewise, other Human Languages ​​(Indonesian, Arabic, German, Spanish, Russian, etc.) are made of several elements such as nouns, adjectives, adverbs, propositions, and conjunctions, etc. So, like English, Indonesian, or other human languages, programming languages ​​are also made of different 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 executed by a computer.

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

  * Programming Environment

  * Data Types

  * Variables

  * Keywords

  * Logical and Arithmetical Operators

  * If else conditions

  * Loops

  * Numbers, Characters, and Arrays

  * Functions

  * Input/Output Operation


Examples of programming languages ​​and their uses

Python Web and Internet Development, Scientific and Numerical Applications, Desktop GUI, Business Applications. It is widely used in the AI ​​and Machine Learning space.

Java is mostly used to develop Android applications, web applications, and Big data.

R Data Science projects, Statistical computing, Machine learning

Javascript The use of JavaScript includes the development of web/mobile applications, games, and desktop applications.

PHP Web Development, Content Management Systems, eCommerce Applications

C++ C++ is widely used in Game Development, Advance Computations, and Graphics Compilers

C# Widely used in Enterprise Cross-Applications and Web Application Development

Swift Swift is a specially designed language that works with Apple's Cocoa and Cocoa Touch frameworks to create all kinds of iOS apps.

SQL Used in Database

Go Console utilities, GUI apps, and web apps


Why Should You Learn Programming?

Now, after knowing a lot about programming or programming, the big question that must be answered is why should you learn computer programming? Let's understand why:

  * Programming is fun: With programming, you can create your own games, blogs/personal 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 and putting it on the Play Store and getting thousands of downloads!

  * Backbone of Tech Companies: The backbone of today's technology companies like Google, Facebook, Microsoft, Apple, Amazon, and many others, are giant computer programs written by the collaboration of thousands of skilled programmers. If you have the right business acumen, knowing programming can help you create the next big tech company.

  * Fairly good salary: Computer Programmers are very well paid almost all over the world. Even the top programmers in Silicon Valley, which is an area that has many companies engaged in the computer field, make millions of dollars every year. Some companies offer to start salaries as high as $100,000 per year.


Summary

So, that's an explanation of what programming is. Hope you enjoy reading it. Computer programming is a very large field and there is much to be explored further. Keep learning and keep exploring.

Hopefully, this article about What is Programming gives you a little insight. Also, read an article about Definition, Examples, Functions, and Structures of Pseudocode that you may need to know. Thank you.

Previous Post Next Post