Is quite a harsh personal attack, and probably contributes to the author's feelings regarding hostility and gatekeeping.
But you're right, I should've avoided going personal.
They never said that. They said that stupid comments get posted.
I literally not do care remotely what you, or other folk like you on SO say. :)
You’re why I no longer go there.
Please see the comments under the OP. While the question is technically sound (I've needed this exact thing for a REPL I was writing), the comments are perfectly useless, self-entitled and discouraging drivel. Notable example:
> This is an incredibly odd thing to ask
(emphasis theirs). How is this even slightly odd. Are REPLs odd? Of course not.
They ask a question with some weird requirements, people ask why those requirements are in place as it makes it hard to solve, the asker explains why. Everything is good.
https://xyproblem.info/
> The people on stack overflow, by and large, are not nice
From your long rant, I'm not sure if you're coming off any better. To me it sounds like SO should be happy someone like you isn't contributing.