Skip to main content

What is Programming?

 What is Programming?

"Programming" has been around for nearly a century and a half, not a few years, and it has become one of the key aspects of our everyday lives in the past two decades. So, what is it anyway? What's my current understanding of this? Let's define it and continue our journey from here.
 
Programming is the process of writing, testing, and maintaining computer programs. Those who work with computer programs are called programmers.
 
computer program can be defined as a computational algorithm executed by a computer and designed to accomplish a specific goal
 

Defining "computational algorithm"

First, let's build a brief understanding of what an algorithm is. 

An algorithm is any set of sequential, unambiguous, and precise instructions designed to accomplish a specific goal
 
For example, an oversimplified algorithm for posting on Instagram:
 
1 - Pick up your phone;
2 - Enter your password;
3 - Click on Instagram's icon;
4 - Click on "New Post";
5 - Write in the box;
6 - Click on the "post" button. 
 
Notice that the term "algorithm" is not limited to programming and does not necessarily refer to recommendation algorithms—those that run on websites like Facebook and YouTube and are constantly criticized by the public and media. 
 
A computational algorithm is a category of algorithms that involves only data manipulation and mathematical operations. (We are going to define data in some other post; suffice to say here that it can mean "information"). 
 
For example, add two numbers:
 
1 - Get value 1;
2 - Get value 2;
3 - Do value 1 + value 2; 
 
A program can be as simple as the sum of two numbers or as complex as Einstein's General Relativity within those bounds; it all depends on what its goal is. 

Finally, from what we've seen thus far, it's vital that we infer one piece of information: a computer cannot infer missing information and is completely blind to context. Computers require the precise instructions we've discussed (far more precise than my examples) as well as the necessary information to function properly. It will not add two numbers if the instruction it's given is simply "add two numbers", not specifying which numbers those are (and it gets deeper than that).

"Programming" as a field of work


There are many different occupations today that fall under the umbrella term "programming" (as a field of work), such as data analyst, data engineer, web developer, mobile developer, and so on, but they are all programmers in the sense that they work with programs; the difference lies in how they do it, for what purpose and their additional responsibilities (I'm probably going to make a post focused on this). 
 

That's it, basically! In further posts, I will delve into some nuances here and explore other concepts; stay tuned! 
 
The Stache is Out.

Comments

Popular posts from this blog

Definitions Are Important (really)

 Definitions Are Important (really)   Some time ago, I got myself wanting to read economics books. I remember that I picked up "The Constituition of Liberty" by Friedrich Hayek—worry not, your death by boredom or scientific jargon overflow is beyond the scope of this post. One of the things that really stuck with me was on the very first pages, where Hayek identifies a harmful problem surrounding the subject matter of the book: most people have no concrete grasp of what "liberty" means . He spent roughly 10 pages of his book setting up what he meant by the term and comparing his definition with the many others that are out there.   "And why is this important?" Everyone has seen this before: two people seemingly arguing about the same subject, but in reality, their perceptions of it are so dissimilar that the entire conversation is pointless. Definitions are crucial because,  without a shared understanding of the meaning of the terms we employ, communic

Learning Programming in 2023

Learning Programming in 2023 Earlier this year, I finished the equivalent of high school in my country (Brazil). Admittedly, I felt lost. "Where I will go" and "What I will do" were the types of questions that stormed my head through days, which turned into weeks and then months. Not that I had never asked myself such a question before; rather, it's just that I had never really answered it . The mental pressure to conform to a new life, a life that requires a level of autonomy that I had never experienced before, coupled with a heavy dosage of self-criticism, was exhausting and nearly led to depression.  In spite of this, I now realize how fortunate I was to have had this time in my life, as many people in my nation and over the world lack it. Many drop out of school to work on the streets as early as 10 years old because their family will starve if they don't. Many others graduate in fields they detest because they never saw or were never given another opt