The tutorial spends time showing how to setup Lazarus build modes, "3.3. Set up Debug Mode". I would say to remove it:
Because Lazarus build modes, while useful, are not really critical for simpler CGE projects.They do not control how the CGE units are compiled (only how project units are compiled), so likely there will be no difference between "Debug" and "Release" Lazarus build modes performance. I would advise to just enable "assertions" in the "default" mode of your applications. For simple applications, this is simple and reasonable.
If we ever change our decision about this, we can anyway add the default "build modes" to the LPI generated by default. Or Lazarus may decide to create debug / release build modes by default. So in any case, this should not be a step performed by user. For simple applications, the default LPI should be suitable.
Engine (build tool) has debug / release modes (switchable in editor) that work automatically, and matter more (they affect both compilation of user code and engine).
The tutorial spends time showing how to setup Lazarus build modes, "3.3. Set up Debug Mode". I would say to remove it:
Because Lazarus build modes, while useful, are not really critical for simpler CGE projects.They do not control how the CGE units are compiled (only how project units are compiled), so likely there will be no difference between "Debug" and "Release" Lazarus build modes performance. I would advise to just enable "assertions" in the "default" mode of your applications. For simple applications, this is simple and reasonable.
If we ever change our decision about this, we can anyway add the default "build modes" to the LPI generated by default. Or Lazarus may decide to create debug / release build modes by default. So in any case, this should not be a step performed by user. For simple applications, the default LPI should be suitable.
Engine (build tool) has debug / release modes (switchable in editor) that work automatically, and matter more (they affect both compilation of user code and engine).