Welcome to the Ranch
The phrase “condescending BS” is close to the limits of our
Be Nice policy, but I think in the circumstances I shall let it stand. I can understand why you said it. Other people might have different opinions and might have deleted the post. Because it does not answer the question in the original topic, it is appropriate to have this discussion in this location.
Rob C is annoyed because
1: The OP in the discussion whence I removed this post (here) has been taught incorrectly, or the book shows incorrect code.2: OP has not taken his advice.The real annoyance is that OP has failed to take the advice he asked for. We are all volunteers and have a limited time at our disposal. Nobody is obliged to help anybody, and it is a courtesy for RC to give notice of that. Yes, his style is direct and abrupt, but he is presented with a beginner who isn't listening to advice.