3 ms·
FWIW I believe that the parent was pedantic but correct. This being C++, being pedantic is a Good Thing. The distinction between reference and pointer invalid
by gpderetta 5y ago
FWIW I believe that the parent was pedantic but correct.
This being C++, being pedantic is a Good Thing.
The distinction between reference and pointer invalidation, and the requirements and axioms of the various iterator concepts are all valid things to point out, especially in a thread about C++ footguns.
- saagarjha 5y agoI am always down for C++ pedanticness! But in this case my issue was not with factual accuracy, but putting down the opinion of "iterators act like pointers" as coming from ignorance rather than simplification. It was mostly a complaint about tone, not content.
- CRConrad 5y ago> It was mostly a complaint about tone, not content. You say that as if you think that makes it better.
- saagarjha 5y agoAbsolutely!
- CRConrad 5y ago> > > It was mostly a complaint about tone, not content. > > You say that as if you think that makes it better. > Absolutely! Indeed, you absolutely did. Which sucks, because it absolutely isn't. HTH: https://en.wikipedia.org/wiki/Tone_policing https://en.wikipedia.org/wiki/Tone_policing (See also: https://en.wikipedia.org/wiki/Sealioning https://en.wikipedia.org/wiki/Sealioning )
- saagarjha 5y agoHacker News is a place for curious conversation, rather than a place to sneer at people's ineptness for coming to reasonable (if incorrect) conclusions. You can be completely correct, but if you're going to be a petty jerk about it then you're not helping the conversation. I provided an example response that conveys exactly the same information, except you'll note mine doesn't start with "this is a poor understanding of [general concept]". If anything, "link provided below of convenience" and "please review the following link" is far more sealioning than anything I wrote, because it hides the message of "you're an idiot who needs to read up on this topic" behind faux politeness. It's the very thing that I found disconcerting about that comment, not its factual content.