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

This is a rather unusual problem and I would call this design flawed. Defining useless methods that only exist to raise an exception is in my opinion a waste of space, both virtual and textual.


obv, this is just a minimal demo (i don't name my classes A!); in actual codebase, there's a complicated calculation that throws up under some circumstances




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

Search: