Noah (angelbob) wrote,
Noah
angelbob

Computer Language Geeking

Raymond Chen writes today about when to mark a method as virtual in a C++ class. He makes some good points, which in turn could be considered to be a critique of object oriented languages that make every function overridable.

I'll need to think on that a bit. One of those problems with language flexibility that we don't think enough about is the testability aspect - every bit of power a language grants you is likely to be abusable in some way, even if they're not all as bad as C++ :-)
Subscribe
  • Post a new comment

    Error

    default userpic

    Your IP address will be recorded 

    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.
  • 5 comments