Hacker News new | past | comments | ask | show | jobs | submit login

Virtual methods and functions behave very differently from an extensibility point of view. I much prefer using named parameters or replacing the bool with an enum.

http://c2.com/cgi/wiki?ExpressionProblem




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: