100DaysOfGameDev: Day 13

It gets more and more intense. The first part of the chapter explained how cool are the exception-handling facilities provided by the language in comparison with “old” methods. Then it goes deeper explaining specific syntax and usage of try and catch in different parts of the system. What he does later is phenomenal! He tries to use the concepts discussed in this chapter to implement a super safe vector container. He writes the first example with try and catch, then proceeds to explain that it's not good and rewrites everything to use RAII ( Resource Acquisition Is Initialization ) and says that way iS mUCh ClEAnEr ThAN UsInG exceptions. Although, he says it's bad to directly work with memory since we are not ill-mannered C developers and should use high-level facilities, he still uses a bunch of weird ass low-level functions, without even explaining them and assuming we will probably understand from the name and the two-word comment next to it? Anyway, this was a rather heavy and confusing chapter for me and I am glad it's over. Maybe someday I will revisit it, and everything will click, but right I do not want to be spinning my wheels on this. That's it for today, see you!