Skip to content

Comment on Never trust a programmer who says he knows C++parent

Comments

Still, I find it more logical to say virtual by default and using another keyword for rare case when you want to specify a non-virtual function.

Sure, if you learned to code in dynamic langs like Python and Ruby.

I didn't, I learned in C. I'd rather take the safe route and non-virtual by default.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.