News for hackers. Stuff that matters.
Re:Never trust a programmer who says he knows C++ by VBprogrammer on Tuesday March 30, 2010 @07:51AM (#1228864)
That is only a problem if and only if that method is being called in a very tight loop and its body is not particularly time consuming. A person making optimisations like this without first timing the code or at the very least spending some time introspecting on the pros and cons of doing so would not be someone I wanted to work with!
Re:Never trust a programmer who says he knows C++ by pmjordan on Tuesday March 30, 2010 @08:09AM (#1228897)
Tell that to someone writing a PlayStation 2 game. Using virtual functions without thinking will kill performance on that machine.