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

Yeah, an unimplemented abstract method being called shouldn't really ever happen at runtime and should be some form of "Internal Error" and should aggressively try to blow up the program. I think this blog post just convinced me using it is correct. The concrete class that leaves it unimplemented should raise something else if they intend to let consumers catch it with a generic rescue clause (which is probably a code smell itself).



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

Search: