I knew someone would say this: it doesn't tell you that, does it? It's supposed to be an introductory reference work, so surely "how to install the 3rd party package required by our hello world example" should be included?
And anyway, even after I installed pixels the code still didn't run right.
I honestly found it insulting that such an expensive book would have such obvious oversights. It's like nobody proofread it at all.
Actually I just double checked and it turns out I misremembered; it does tell you how to install the library. But it didn't work properly when I tried to run it, I just got a blank window. A few people in the Nim discord had had the same problem and nobody could figure it out.
I don't want to take a picture because I already wrote in the book and I don't want people to see my handwriting. But here is some verbatim text from that single page:
>In this chapter we will show the basics of Nim language
needs a "the" before Nim
>(types, for loops, if and case statements, procedures, etc.) while using basic graphic primitives to create shapes
needs a comma after the close parenthesis
>The premise is that the `putPixel` proc exists and we can use it, ...
"proc" is a nonstandard technical term that has not been defined properly yet
>All we need to know is: that proc takes the x and y coordinate of a point ...
colon should not be there, and it needs a "the" before "proc"
In and of themselves these are fairly minor problems, but the whole book is like this. All are forgivable in say, a blog post, but this is a book I paid good money for. It's shoddy work, evincing a lack of care. Not to mention, the print quality is poor.
I knew someone would say this: it doesn't tell you that, does it? It's supposed to be an introductory reference work, so surely "how to install the 3rd party package required by our hello world example" should be included?
And anyway, even after I installed pixels the code still didn't run right.
I honestly found it insulting that such an expensive book would have such obvious oversights. It's like nobody proofread it at all.