From de62b713426c3455207b84013965fdf448920ef9 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Mon, 24 Jul 2023 17:29:08 +0200 Subject: Tour3Log: Chapter 1 and 2 --- Makefile | 6 +++++- tour3_log/tour3_log.tex | 22 ++++++++++++++++++++++ 2 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 tour3_log/tour3_log.tex diff --git a/Makefile b/Makefile index 4b3b255..0c83e52 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ PRE=au_BentBisballeNyeng_ -all: A1 +all: A1 Log A1: zip ${PRE}$@.zip a1/hello.cc @@ -8,5 +8,9 @@ A1: xelatex -halt-on-error -jobname=${PRE}$@ -auxdir=build a1/exercise.tex rm -f ${PRE}$@.aux ${PRE}$@.log +Tour3_Log: + xelatex -halt-on-error -jobname=${PRE}$@ -auxdir=build tour3_log/tour3_log.tex + rm -f ${PRE}$@.aux ${PRE}$@.log + clean: rm -f ${PRE}* diff --git a/tour3_log/tour3_log.tex b/tour3_log/tour3_log.tex new file mode 100644 index 0000000..fbec0c8 --- /dev/null +++ b/tour3_log/tour3_log.tex @@ -0,0 +1,22 @@ +\title{Tour 3 Log} +\input{preamble.tex} +\section*{Chapter 1} +This chapter is quite a lot to take in at once, but looking back at +it, I don't see any thing that could meaningfully be left out - and it +leaves the reader in a known ``minimal'' state, for the rest of the +book to build on. +Drawing perspective to other languages, that might be known to the +reader might make it easier to grasp the different concepts, but since +the readers are not all familiar with the same set of languages, it +might end up having the opposite effect... + +\section*{Chapter 2} +The introduction of the concept of a class along with the constructor +happens in this chapter, but it confused me that the destructor is not +mentioned until chapter 5. +Mentioning it here might help give a better overall picture of what a +class is. I recognize the fact that it might be hard to do without +also starting to talk about free'ing of the memory for the Vector +which clearly belongs in chapter 5... + +\end{document} -- cgit v1.2.3