Commit

8dd93a1

I'm learning C++ from scratch, live, every day at 9:00 AM, on Twitch and YouTube. The rule is no copying ready-made code: the goal is to write a Markdown reader for the terminal and be able to explain every part of it. Every live ends with a complete program running on screen. Before that comes the part that teaches the most: reading what the compiler complains about. One of the first rules I wrote down is that braces refuse conversions that lose information:
cpp
int a = 3.5;  // compiles, but drops the .5
int b{3.5};   // error: the compiler warns you
That's why every variable is born with braces and a value. A bare int n; inside a function holds garbage, and reading that garbage is an error. To follow the chat without leaving the terminal, I built a command that merges Twitch and YouTube into a single log. If you want to study along, the live is at 9:00 AM.

commit 8dd93a1