The Problem with LazyFoo (SDL Tutorials)
- Ananth Chellappa
- Nov 8, 2020
- 1 min read
Updated: Nov 10, 2020
Though there is a table of contents, the overall issue is one that is common to a great many MOOCs - inadequate motivation buildup.
He starts telling us about converting an image before blitting it. Cool, but really uncool. I want to make stuff that looks cool. I need this at some point? Fine, tell me about and tell me where I can find it and the fastest way to use it. I don't need to waste time on converting to the screen format and texture rendering - unless it's something cool that's going to result.
Bottom line - good content, could be enhanced by throwing in the concept of the bag of tricks - spend one page on just that - by the end, you'll be able to build XYZ..
The other problem he might consider fixing is to enhance his code display. Since he's taking the trouble to display all the code nicely formatted, why not highlight the new stuff so that you know what to focus on? :) Please?
And, oh yes, please put the source code link at the TOP of teach page. Please?
Another thing you'll notice - once you get past #3 or 4, your computer's fan starts screaming. Why? This guy has a loop that says :
while( true ){
// do very little work
}
You, the discerning reader have already sensed the value of
and
std::this_tread::sleep_for(std::chrono::milliseconds(100) );
The latest thing that struck me is - since this person is obviously smart, how come the idea of putting the class definition in a .h hasn't occurred to her yet? Or does she really like to browse very long source files?
Comments