Загрузка...

How to Start Coding from Scratch — A Beginner's Walkthrough

Want to learn how to code but have no idea where to start? This is your starting point. In this beginner-friendly walkthrough, I cover what programming actually is, the core terminology every coder uses, the philosophy behind different programming languages, and how to write your first programs in Python and Rust — all using a simple cake-baking analogy. No jargon. No gatekeeping. Just the foundations you need before any of the millions of "learn to code" tutorials online start making sense.
By the end, you will have the right tools installed (VS Code, Python and Rust), you will understand variables, functions, loops, conditionals and syntax, and you will have written the same program twice in two completely different languages. From there, you can take whichever path suits you.

⏱ Timestamps:
00:00 Intro
01:47 Analogy: baking a cake
04:44 Coder terminology — variables, functions, loops, conditionals, syntax
07:43 Programming philosophy and paradigms — OOP, functional, procedural
11:32 Software for coding: VS Code, Python and Rust setup
14:22 How to bake a cake in Python
16:16 How to bake a cake in Rust
18:19 No right or wrong — there is rarely one correct solution
20:30 Testing and finding errors (debugging)
23:16 Closing remarks and next steps

📌 What is covered:
• What programming is at its core — the cake-baking analogy
• Core coder terminology: variables, functions, loops, conditionals and syntax
• Programming paradigms and philosophy — OOP, functional, procedural
• Installing the software you need: VS Code, Python and Rust
• Writing the same cake recipe program in Python
• Writing the same cake recipe program in Rust
• Why there is rarely a single "right" answer in coding
• Debugging — the three types of errors and how to handle them
• Where to go next to keep learning

🔑 Key insights:
• Programming is not complicated — it is just extremely literal. You have to spell out every step
• Variables, functions, loops, conditionals and syntax are the five building blocks of every language
• Python is forgiving and reads close to plain English. Rust is strict and forces precision
• Different languages reflect different philosophies. Understanding paradigms makes you a better software buyer, not just a coder
• The same logic can be written in many valid ways — what matters is that it works and you understand why
• Errors are information, not failure. Debugging is a core skill, even for senior developers
• The only way to get better at coding is to write code. Start small and keep building

🐍 The Python program (cake recipe):
# Ingredients
flour = 250
sugar = 200
eggs = 3
butter = 150

# A function that bakes the cake
def bake_cake(flour, sugar, eggs, butter):
print("Mixing dry ingredients:", flour, "g flour and", sugar, "g sugar")
print("Adding", eggs, "eggs and", butter, "g butter")
print("Baking at 180°C for 35 minutes")
print("Cake is ready!")

# Baking 3 cakes
for i in range(3):
print("--- Cake number", i + 1, "---")
bake_cake(flour, sugar, eggs, butter)

🦀 The Rust program (cake recipe):
fn bake_cake(flour: u32, sugar: u32, eggs: u32, butter: u32) {
println!("Mixing dry ingredients: {}g flour and {}g sugar", flour, sugar);
println!("Adding {} eggs and {}g butter", eggs, butter);
println!("Baking at 180°C for 35 minutes");
println!("Cake is ready!");
}

fn main() {
let flour: u32 = 250;
let sugar: u32 = 200;
let eggs: u32 = 3;
let butter: u32 = 150;

for i in 1..=3 {
println!("--- Cake number {} ---", i);
bake_cake(flour, sugar, eggs, butter);
}
}

🔗 Software downloads:
• VS Code: https://code.visualstudio.com/download
• Python: https://www.python.org/downloads
• Rust: https://www.rust-lang.org/tools/install

📚 Free learning resources:
• Official Python tutorial: https://docs.python.org/3/tutorial/
• The Rust Book (official, free): https://doc.rust-lang.org/book/
• Coding courses at udemy.com and coursera.com

📺 Related videos:
• 📺 How to think like a coder: https://youtu.be/wd-jlIAV2cY
• 📺 Creating a website from scratch with Claude Code: https://youtu.be/-wEnEXIAMiA
• 📺 Prompt Engineering: How to Actually Get Useful Results from AI: https://youtu.be/GpEz2__Km4s
• 📺 What is AI? Practical answers for those with no technical background: https://youtu.be/UwScNZmdFJo

💼 About me:
I'm Amira, an interim management consultant specialising in finance, data and strategy. I create educational content that bridges business and technical — no fluff, no gatekeeping. If you thought this stuff wasn't for you — it is.
🌐 hvitravnur.com

#LearnToCode #Python #Rust #CodingForBeginners #ProgrammingBasics #VSCode #LearnProgramming #PythonTutorial #RustTutorial #CodingFundamentals #TechForBeginners #SoftwareDevelopment #Hvitravnur

Видео How to Start Coding from Scratch — A Beginner's Walkthrough канала Amira Roula
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять