You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be clearer if we prefixed these functions with is_ to make it clear that they are performing some check (though not necessarily returning a boolean like the Ruby ?):
As a big Ruby fan, I miss the way you can tell a function returns a boolean if it ends with a question mark (e.g.
1.even?
).With the
_Validator
class, instead of having:It would be clearer if we prefixed these functions with
is_
to make it clear that they are performing some check (though not necessarily returning a boolean like the Ruby?
):Also a more appropriate name for
func
would becallable
.The text was updated successfully, but these errors were encountered: