K Kapnula
🐛
Урок 15 · клас P3

Debugging: think like a detective

📖 Урок ──▶ 🎯 Вікторина — обери переклад ──▶ ✅ Урок пройдено
🔋💡Closed circuit — bulb lights

A bug is a mistake in code, debugging is the hunt. Fact: 50% of programming is finding bugs. An error is not failure — it's a clue! "line 5: name is not defined".

Rubber-duck debugging: explain the code out loud — "here I add, here I check…". While explaining you find the bug yourself! Or halve it: comment out half — works? Bug is in the other half.

💡 The first "bug" was real: in 1947 a moth flew into the Harvard Mark II. They taped it in the logbook: "first actual case of bug being found"!
🎯
Перевір себе!
Закріпи тему тренажером — як після уроку
Вікторина — обери переклад → 🖨 Робочий лист
← Попередній Наступний →
💶 EUR 🇺🇸 1.09 USD 🇷🇺 90.17 RUB 🇵🇱 4.47 PLN 🇺🇦 49.40 UAH EZB · щодня
⛽ Пальне E5 1.789€ E10 1.729€ Diesel 2.009€ Berlin · tankerkönig.de