Answer the question
In order to leave comments, you need to log in
How to use "is" in predicates?
isQueueOverWlow or queueIsOverFlow?
isQueueEmpty or queueIsEmpty?
And is there a single standard, as I assume?
Answer the question
In order to leave comments, you need to log in
There is no single standard, but it is often possible to abandon is altogether, and leave only:
queueOverflow
queueEmpty
is definitely shouldn't be in the middle. If it is needed by meaning, then only at the beginning.
isNone, isEmpty
Although, in Haskell you can use shorter
null
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question