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

This is exactly what I thought. The purpose of the "isTestPage" method is to hide the implementation. It's a basic OO principle, not some controversy stirred up by Robert C Martin.

I hated seeing somebody argue against it because we'd be better off as developers if more people understood this and made a habit of hiding implementation to this extent.




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

Search: