You already know how to code - Part One

2 min read

You probably think the title is clickbait, but it’s not. Just read along, and I will prove it in the next few minutes.

Clickbait describes misleading internet content or shocking headline titles that aim to drive traffic to a website.

Bring out your mobile phone and save a new contact with the following details:

  • Name: akash
  • Phone: 9999999999

Done? You won’t believe me, but you just wrote a line of code. In programming terms, you wrote a statement to declare a variable (akash) and assigned it a value (9999999999)

Now, will you believe me if I tell you programming is much easier than saving a contact on your phone?

Let’s try to do what you did above, declaring a variable and assigning it a value in a programming language called python.

akash = 9999999999

That’s it.

Let’s dive deeper to understand this simple line of code further. It might look useless, but it will help you not to get confused with variable names ever again.

When you created a new contact on your mobile, what you did was this:

  • You thought it was tough for you to remember this super complicated phone number 9999999999
  • So you asked the tiny computer in your hand to remember that value for you, and give you back the value anytime you ask for the phone number of akash

Your mobile does not need to know who akash is; you could have used any text to save the contact. The only thing it’s concerned about is whenever you say akash, you mean 9999999999.

Coding is giving instructions

You write the instructions, and the computer follows that. If you are someone like me, who enjoys giving the order, you sure will love coding.

You do not have to start from square one. You are already a programmer if you know how to give clear instructions. You only need to learn the syntax.

In the next part of this article, we will do some actual coding to help you start thinking like a programmer.

Previous Post

How I saved my startup from price war?

6 min read

ConfluxBot was launched as a SaaS (software as a service) product in late 2018. There was no other software available in the market similar to ConfluxBot, and I knew it had the potential to become my hero product.

Next Post

You already know how to code - Part Two

5 min read

In part one, we learned that you already know how to code and probably do it every day. You only need to learn the syntax of the programming language you choose to code in.