Common Things in Programming
Its exactly, 3 years since I've started learning the concepts of programming. Though I'm not proficient enough to be called an expert nor do I have the confidence to call myself an expert. I believe that for any beginner who intends to learn how to program should know that it is not enough to know one programming language.
I have a few friends ask me this recently, this is something I've been asking myself for the past 3 years. My honest reply is, you can start with any programming language you feel comfortable with. Generally people start with Python because of its readable syntax. However, my personal preference would be to start with C you don't have to go really in-depth but enough such that you are able to understand the concepts of programming. code reads from top to bottom , defining variable types , conditional statements, etc.
Learning 1 programming language may/may not make you a master. But in a real life working scenario, every "Tech" company uses a different stack/language. If you were to just be good at "1" language, you'll just be bottlenecked. Recruiters will just throw your CV away at one glance because you dont meet the stack requirement for the prospective company.
No programming language can ignore them. Variables are the bricks of any programming language. You have to declare/initialize variables they are like the data that the computer needs to feed on.
Expressions are what builds context to your program. It defines how unique your building looks like. It's used together with statements/loops.
Statements are like the mortar/cement that combines the bricks to build a wall. Its the foundation of making things useful, without Statements (Conditional). The computer will not be able to understand what you are telling it to do.
boolean (true/false) statement
Different programming languages have different styles of arrays. But generally arrays can be defined by square brackets . Arrays are a more advanced version of variables. They store data more visibly, essentially they are like the individual units in a building. More commonly explained like a mailbox.
Normally, if you were to create individual variables for every single item you have. It would be so daunting and reptitive, programming is supposed to make your life easy! Thus, the concept of D-R-Y Don't Repeat Yourself is applied.
Without arrays you need to have 8-10 lines. But with arrays everything can be simplified and more readable in 1 - 4 lines.
So I hope this is enough to give you a broad perspective of what programming is all about. Apart from the complex algorithms and data structures and the time, space complexity of sorts. Programming can be fun, and you should enjoy it!
Build simple things that you like, create scripts to automate your work. Build a game!
I'll shamelessly advertise my programming project here built with Pygame: Pygame-RPG Its a Final Fantasy style clone. Not complete but it works!