I'm the Grumpy Old Ape sometimes answering C++ questions on Stackoverflow. I have long since ceased answering question, but still I currently am #232 on SO.
If you're very lucky, you can find me in the C++ Lounge of the Stack Overflow chat.

I occasionally retweet something on my Twitter account, and I'm known to even generate my own tweets once in a while.

1h
comment How can I teach my kids how to shop for groceries effectively?
In short: Unwanted lessons are unwanted. Instead of giving those, provide a stimulating environment that encourages participation and questions. My feeling is that, in the end, you achieve more by just doing yourself what you want them to do (like buying and cooking healthy stuff), by being a living example, than by constantly teaching them.
1h
comment How can I teach my kids how to shop for groceries effectively?
@Erica: Don't get me wrong, I love cooking and I'd love my kids to love it, too. But I stick to the old advice to mostly explain to them what they asked for. They linger in the kitchen and want to help? I'm happy to explain how to slice carrots and prepare meat. They want to come shopping? We do that together and I explain everything they seem to want to know. They'd rather build a crane from their Lego? I'd have to defer giving any advice wanted until I'm done with cooking, but I'd praise the result the same way I'd praise the carrot slices they cut.
1h
comment How can parents bring up children with multiple languages at the same time?
Oh, I only now realized that I must have read your "But the important point here is that it's only really effective if it happens in natural communication situations." as the common advice to not to try to teach your children a language that's not native to you. I apologize for the confusion I caused by that.
1h
comment How can parents bring up children with multiple languages at the same time?
Except for those kids, I know nobody for whom Esperanto is a first language. It certainly wasn't for my friend, yet he did this.
7h
comment How can I teach my kids how to shop for groceries effectively?
What if your kids decide they aren't interested in cooking, but rather in programming computers, training horses, or buying stocks? Because some children do decide to pursue different interests than their parents. Are you willing to accept that? And if so, why not let them decide whether they are interested in shopping now as well?
7h
comment Why should I be hell bent on educating my toddler when she's going to learn the stuff anyways when she grows up?
Having many kids, I can tell you that the size of your probe it's too small. If all my kids have one thing in common, it's that each of them is totally different from all the others. And that includes language acquisition. So making a hypothesis from one sample is meaningless.
7h
comment How can parents bring up children with multiple languages at the same time?
I generally agree (+1), but here's an exception: A friend of mine raised his first child with Esperanto until Kindergarten, while his wife only spoke her native Serbo-Croatian with the child. In Kindergarten, the child learned German (within weeks) and then used mostly that. The second child spoke Esperanto with the father, Serbo-Croatian with the mother, and German with the sibling. Both children speak and write all the languages, plus English and some French, both learned in school.
2d
comment What is the difference between a definition and a declaration?
@Koray: I didn't even mention C's macros, because they are so strange breasts. Basically, you cannot declare a macro, you can only define it. But the preprocessor is not a real compiler, but a simple text processor anyway... In K&R C, functions didn't declare their parameters, so all you needed as a declaration was their name. In ISO C, you need proper declarations. I suppose this is what the comment you quoted refers to. And, no, I meant that sentence to be the way I wrote it.
2d
comment How can I make `new[]` default-initialize the array of primitive types?
@Fernando: You can now, thanks for pointing this out. You'd have had a hard time finding a compiler that accepted that in May 2010, though. :)
May
21
awarded Good Answer
May
21
comment Difference between a virtual function and a pure virtual function
@thecoshman: I've edited a bit. Please look if you agree with that.
May
21
revised Difference between a virtual function and a pure virtual function
added 94 characters in body
May
19
comment Meaning of = delete after function declaration
Pure link answers are bad. Links might rot.
May
18
awarded Nice Question
May
17
awarded Nice Answer
May
13
comment Should I tell my 10-year old son, how screwed-up Cinderella is?
Relevant: vimeo.com/58373032
May
12
comment Can I copy-construct a boost::exception with the error info?
@Sven: Please see the above comment. (I am sure there's very good reasons for not being able to address two users in the same comment.)
May
12
comment Can I copy-construct a boost::exception with the error info?
@Barry: Please see my comment here. I suppose it's a bug in the old boost library we're currently stuck with. Hopefully we can upgrade to an up-to-date version at the end of the year.
May
12
comment Can I copy-construct a boost::exception with the error info?
I finally took the time to hunt this down. This code works as expected on coliru, but it does not work on my platform. I can't help but assume that this is because we are stuck with boost 1.52, which supposedly has a bug. (We are also using an older compiler, but I doubt that this would cause such an error.) Since there's nothing we can do, we have, for the time being, to derive non-virtually. Thanks again for your effort!
May
12
comment Should I try to protect my son from hearing that his father wants nothing to do with his two boys?
And one more thing: I was about that age when I got to know my father who I hadn't seen for almost a decade. At that time it never occurred to me that it might be his fault. The reason for that is probably that my mother never scolded him for that. (That's because she cut off the contact, but that's different problem.)
1 2 3 4 5