Why have I never seen a book with a "Debugging" section in the first chapter before? Honestly a great idea.

From "Fundamentals of Computer Graphics" by Peter Shirley et al.

@dubroy hmm kinda questionable advice/statements though…
@rms80 which ones?
@dubroy most of the very experienced engineers who work on Unreal Engine (one of the largest and most complex monolithic C++ codebases in existence) use the MSVC debugger on a daily basis. And the logic behind “use float until double is proven necessary” resulted in a huge multi-year refactoring effort in unreal engine. Float can make sense for storage/memory reasons, but math computations can nearly always be done in double with minimal extra cost (and significant savings in pain and suffering)
@rms80 Gotcha. Yeah I wasn't sure if you were reacting to the specific stuff in this screenshot or the advice in the rest of the section (which I didn't post here).