Building Blocks of any Programming Language

Building Blocks of any Programming Language

Do you want to learn a programming language for the first time?
Do you want to improve as a Programmer?

Well, then you’re in the right place to start.
Learn any Programming language without difficulty by learning the concepts and topics common to all programming languages.

Why learn Programming❔

Programming develops Creative Thinking
Programmers solve a problem by breaking it down into workable pieces and understanding better. When you start learning to program, you develop the habit of working your way out in a very structured format. You analyze the problem and start thinking logically and this gives rise to more creative solutions you’ve ever given.

Whether you want to uncover the secrets of the universe, or you just want to pursue a career in the 21st century, basic computer programming is an essential skill to learn.
– Stephen Hawking

Programming provides Life-Changing Experience
Programming always provides you with a new challenge to take the risk every time and that teaches you to take the risk in your life too. The world is filled up with websites, apps, and software and when you build these yourself you’ll feel more confident. When a programmer solves a problem that no one has ever solved before it becomes a life-changing experience for them.

Everybody in this country should learn how to program a computer… because it teaches you how to think.
- Steve Jobs

Resources:-

What is Programming🤔?

A program is a set of instructions to perform a task on a computer.
Programming is the process of designing and building an executable computer program to accomplish a specific task.

Well, according to me programming is like raising a baby. We provide knowledge(data) to help understand a baby and what’s happening around them. We teach a baby to be Disciplined(and much more) by making rules.

Similarly, a Computer is like a baby. We set rules and provide data to the Computer through executable programs with the help of a Programming Language.

Photo by Clément H on Unsplash

That’s it👍. If you can understand this basic concept of programming, you’re good to go. Pick up a programming language and start learning. Read the following section to get an idea of where to start.

My recommendation is to choose Python Programming Language as a start, coz it’s Beginner-friendly. If you’re interested in Python, check out my blog👇.

Resource: Python Programming: A Beginner’s Guide

How to Learn a Programming Language?

Anyone can start to learn a programming language, but to learn it effectively you need to learn the Building Blocks of a Programming Language.👇

Syntax
In the English language, Syntax is the rule for how a sentence is constructed.
In a programming language, Syntax is the rule for how each instruction is written.

Semantics

In the English language, Semantics is the actual meaning of statements.
In a programming language, Semantics is the effect the instructions have(logic).

Data Types
A Data type is a classification of data we want to store in memory.
Data types can vary from one language to another. But the type of data we would like to store is common across all languages.
The type of data a data type supports to store are Numbers(Integers, Floating-point numbers), Characters(Strings), Booleans(True/False), Arrays, etc…

Resource: Data types Wikipedia Page

Terms
When it comes to a programming language there are these terms(buzzwords) you may come across in your learning journey. Some commonly used terms are Variables, Expressions, Statements, Functions, Classes and many more. You don’t need to worry if you feel any difficulties, use this Dictionary👇 as a resource.

Resource: The Tech Terms Computer Dictionary

Coming up are the most important concepts for a programmer to improve their skills. And these concepts help you excel in the technical interviews for Programming based Job-roles!

Data Structures

A data structure is how we can store, access, organise and manage the data we have created on a computer.

In computer science, a data structure is a data organization, management, and storage format that enables efficient access and modification. More precisely, a data structure is a collection of data values, the relationships among them, and the functions or operations that can be applied to the data.
— Wikipedia

👉A good programmer must know when and where can we utilize a data structure in a program. And this comes with practice, so use this resource and start practising using your favourite programming language👇.

Resources:-

Algorithms

An algorithm is a step-by-step procedure to solve any computational problem. And when it comes to Computer Science, there are a bunch of algorithms which are must-to-know ones.

In mathematics and computer science, an algorithm is a finite sequence of well-defined, computer-implementable instructions, typically to solve a class of problems or to perform a computation.
— Wikipedia

Well there are many types of algorithms but the most fundamental types of algorithms are:

  1. Recursive algorithms

  2. Dynamic programming algorithm

  3. Backtracking algorithm

  4. Divide and conquer algorithm

  5. Greedy algorithm

  6. Brute Force algorithm

  7. Randomized algorithm

Use the following resources to practice and know more about algorithms:

Best Practices

The last one is the best practices and coding style.
This is an important point for a programmer to work in a team set-up because the programs and codebases you write must be programmer-friendly.
And even this comes with practice, so take time and refer to the resource👇, whenever you’re ready.👍

Resource: 13 Simple Rules for Good Coding (from my 15 years of experience)

The Trend in Programming Languages:

Who Am I?

I’m Aswin Barath, a Software Engineering Nerd who loves building Web Applications, now sharing my knowledge through Blogging during the busy time of my freelancing work life. Here’s the link to all of my craziness categorized by platforms under one place: https://linktr.ee/AswinBarath

Keep Learning👨‍💻👩‍💻

Now, I guess this is where I say GoodBye👋. But, Hey it’s time for you to start learning📖 with your newfound Knowledge🧠 and Power💪. 🙂Good Job that you made it this far and Thank you so much for reading my Blog.