Ex35: calloc params switched

Hey Zed,

Just started the RadixMap code and noticed that RadixMap_create in the book uses calloc 3 times with the arguments swapped around. Of course no amount of testing will uncover this, because it has no effect on the result.

For that reason I am extremely grateful for your insistence on always doing code review.

Still, it’s a bit sloppy, hence the topic. For the next version of the book maybe.

Kind regards, Guus.

Oh boy, I do feel a bit silly. When I wrote this I had not looked at the video yet. It is handled in the review section of the video of exercise 35.

Kind regards, Guus.

Well, as I’ve mentioned on your other posts, I’m super impressed that you’re finding these errors. I’d like you to submit them.