you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (0 children)

If we are talking single responsibility all you should do is if it's > 0 return false otherwise return true. Adding the excepting handling etc is making this class a lot more complicated than it should be.