Some people seem to be incapable of seeing the commentary on the wastefulness of RAM and CPU resources in modern software development that the rest of us are trying to make.
Me: Do you have long compile times?
Students: yeah
Me: how long is long
Students: a full clean build can be 5 minutes!
Me: ok... Moving on to the next topic...
REMINDER
When you parse a float, it takes into account the language on the computer you're using.
Some cultures use a period for decimal points, while some use commas.
More than once have I gotten game breaking bugs due to forgetting about this.
Theory: every aspect of modern technology hinges on C++
Evidence: JavaScript engines, browsers, Windows, KDE, JVM all written in C++. Python is C, but all major libraries are written in C++.
GTK on Linux? Your C compiler is written in C++
Do you have counter examples?
I just finished my C++ Best Practices book - 45ish Simple Rules with Specific Action Items for Better C++
It's meant to be quick and actionable.
leanpub.com/cppbestpractic…
To celebrate here's a coupon for the first 100 buyers only, get it for only $7.99!
leanpub.com/cppbestpractic…
This is going to sound a bit trite, perhaps, but about 95% of the performance problems I fix in code come down to simply "don't do more work than you have to."
It's almost never some fancy new algorithm that's needed, it's more like "stop re-parsing the same string 1600 times."