While writing some predicates for collection filtering I have stumbled over the choice of the right words for the relation of the subject and the predicate (English is a foreign language for me). What I ended up writing was "Subjects matching this predicate..."

This seems to be incorrect, since predicates are functions and not regular expressions. But saying "Subjects for which this predicate returns true..." sounds awkward to me as well..

So what would be the correct term?

closed as primarily opinion-based by gnat, user40980, Dan Pichelman, Bart van Ingen Schenau, Ampt Sep 23 '14 at 19:33

Many good questions generate some degree of opinion based on expert experience, but answers to this question will tend to be almost entirely based on opinions, rather than facts, references, or specific expertise. If this question can be reworded to fit the rules in the help center, please edit the question.


I would use "Subjects satisfying this predicate".

Matches implies a pattern, rather than a condition. And "for which this predicate returns true," although the most accurate, sounds more technical than I think you intend.

Edit: Mike makes a good point that predicate is also very technical. Perhaps "Subjects satisfying this condition" is a better option.

  • Satisfying is the word he was looking for, 'meeting' also is often used for the same meaning as well, and occasionally someone will use 'in' as referring to the set that satisfies the predicate – Jimmy Hoffa Nov 19 '12 at 16:31

I think the terminology really depends on your intended audience.

If we're talking about code comments and API documentation then I would say your suggestion would be very accurate and understandable.

"For which this predicate returns true."

If we're writing end user documentation I would avoid the word predicate all together and stick with "filter" and "match".

"Subjects matching your filter."
  • +1 Thanks Mike, I guess I wanted something inbetween the two :) – kostja Nov 19 '12 at 16:39

Not the answer you're looking for? Browse other questions tagged or ask your own question.