What is Programming ?
Before we think about programming on a computer, we first need to think about computers themselves.
Computers
Computers are "digital machines", which means they perform operations using binary (1 or 0) operations.
They are particularly useful to perform tasks in a deterministic way. This means that a repeated task produces the same result if provided with the same inputs.
We can make "Tasks"
Programming means writing instructions, called source code, that a computer can interpret and execute. At its core, programming is about solving problems.
To write instructions a computer can follow:
- Break tasks into small, logical steps. Each step should answer one specific question and follow a clear sequence.
- Make every instruction clear, specific, and unambiguous.
If something is off, keep in mind that computers only do exactly what you tell them.
Program
Despite being (seemingly) simple, this is what a program is.
It's a precise set of instructions that are used to perform a task. But instead of communicating that to a person, you are communicating that to a computer.
Programming Languages

Programming vs. Languages
Natural Languages (e.g. French, English)
- Follows strict rules
- People keep coming up with new words
Programming Languages
- Has specific applications
- Updating the language is a big deal
High-Level vs. Low-Level Languages
High-Level Languages
- Programming languages that use English and have mathematical symbols in their instructions
- Less painful to read
- Programs are "portable" and can run on different kinds of computers
Low-level Languages
- Straight up machine code, the language "spoken" by your computer and runs on electrical circuits (1 & 0)
- Painful to read
- Hardware specific
Translating from High to Low
C# source code compiles into Intermediate Language (IL), packaged into a .dll or .exe file.

At runtime, the Common Language Runtime (CLR) loads the assembly and compiles the IL into native machine code just before it executes. This process is called Just-in-time compilation (JIT), cause it's quite literally happening "Just in time".
