Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Yeah, the problem is when people create extra classes just to avoid the switch statement.


Yes, I've seen this misused and it resulted in an over-complicated codebase with no benefit.




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

Search: