• I don’t have the skills to teach you Python in 30 minutes. • There’s a workshop for beginners tomorrow. • There are better resources on the Internet.
Whitespace matters... In languages that use braces: void breakfast() { // intentionally made // to look bad if (coffee > 0) { dyu->drink(coffee); dyu->eat(anything); } else dyu->buy_coffee(); }
K&R? In languages that use braces: void breakfast() { // intentionally made // to look bad if (coffee > 0) { dyu->drink(coffee); dyu->eat(anything); } else dyu->buy_coffee(); }
Egyptian? In languages that use braces: void breakfast() { // intentionally made // to look bad if (coffee > 0) { dyu->drink(coffee); dyu->eat(anything); } else dyu->buy_coffee(); }
Single line special case? In languages that use braces: void breakfast() { // intentionally made // to look bad if (coffee > 0) { dyu->drink(coffee); dyu->eat(anything); } else dyu->buy_coffee(); }
To be fair... In languages that use braces: void breakfast() { // intentionally made // to look bad if (coffee > 0) { dyu->drink(coffee); dyu->eat(anything); } else dyu->buy_coffee(); }