Just for the record, and in the interest of full disclosure I'll just copy my "thoughts" and decision making process out here verbatim. There's more in the chat that's less relevant to your question here, so here's the gist:
About the quoted comment by CatPlusPlus:
⬝**sehe
** Flagged as rude. It's funny, alright [
https://chat.stackoverflow.com/transcript/10?m=13464908#13464908]
I mean, I reckon it was one of those spur-of-the-moment things to say, but that doesn't make it right, so I didn't hesitate 2 seconds before flagging that as rude/offensive. I suppose Cat forgot that he wasn't in a chat with people who know him.
⬝**sehe
** @BartekBanachewicz I did the most conflicted thing: I upvoted and voted to delete :) [
https://chat.stackoverflow.com/transcript/10?m=13464923#13464923]
⬝**Bartek
** @sehe why would you upvote it :cringes:
⬝**sehe
** @BartekBanachewicz It's informative, he spent diligent effort. Just downvote for not being helpful would be fine. Downvoting it to China is not very useful
Finally, I flagged the reposted answer for moderator attention with these words:
repost on contentious answer is only going to fuel more discussion. The answer itself was too much flame bait from the get-go. I don't think it's worthless but the reposting... well. It's not about Q&A any more. [
https://chat.stackoverflow.com/transcript/10?m=13465192#13465192]
So there you have it. Had you just cleaned up your post (or be so smart as not to actively solicit the criticisms you were getting), I'd never have voted-to-delete. If you had reposted a version without the subjective/inflammatory bits, I'd certainly have endeavoured to keep your answer: I thought it was informative, and deserved attention, if not upvotes, even if it wasn't a good match for the OP. Personally, I love when an answer demonstrates mastery of a tool and comes with working code.
(Finally, there was some valid criticism in the comments. I'm not sure whether memory management was well-done in the example. These things could be left as an exercise to the reader, but I suppose you'd do well to make such things clear).
deleted by Cat Plus Plus, sehe, animuson♦ 10 mins ago