Programming Fundamentals
The concepts every language shares: variables, control flow, functions, and syntax. Learn them once and the next language is mostly vocabulary.
Articles
Programming Fundamentals: Four Concepts Behind Every Program
The core of programming is giving instructions: telling the computer to do what you want it to do, in a language that has rules of its own.
Variables and Data Types in Programming
A variable is the main character of a program, and every language has one. The type is what decides which data fits inside.
If-Else vs Switch-Case: What's the Real Difference?
Not sure when to reach for if-else and when switch-case earns its place? Here is why switch-case sometimes runs faster.
Loop Control Structures: When to Use For, While, and Do-While
Tired of writing the same lines of code over and over? Here is how you make the computer repeat the work for you, and which loop to pick.
Functions vs Procedures: What's the Difference?
Ever wondered when to reach for a function and when a procedure does the job while coding? Here is the split that keeps your code tidy.
Syntax Rules: One Missing Semicolon Stops the Program
You wrote a few lines and the program already refuses to run? Most of the time the logic is fine, and one character is missing or in the wrong place.