3 ms·
Well for one the line shouldn't really be one of the first bits of advertising for the book if the author also knows it's wrong. The second example is taken fro
by IanCal 10y ago
Well for one the line shouldn't really be one of the first bits of advertising for the book if the author also knows it's wrong. The second example is taken from the GitHub repo for the book though, and is exactly the same type of error.
> you probably deterred people from buying it.
Quite possibly, but I think with good reason. I don't know what's in the book but I'm concerned it won't contain things like a discussion of what whitespace is and is not, how to decide what you should do for your data and when isSpace might not do what you really need. I can't review it properly but at least one bit of code in the repo looks dangerous and one bit on the website looks dangerous.