0

I'm working on a piece of software that includes a field displaying how many results exist total, and how many are returned after filtering. All other grammar cases seem straightforward [0 of 0, 0 of X, 1 of 1, 1 of X, X of X, X of Y], but I cannot parse out how you would write result or results in the case that it precedes '0 of 1'. The latter sounds correct in my head as a whole, but "1 results" is obviously incorrect out of context.

In short, I'd like to know if you are to write 0 of 1 results, or 0 of 1 result.

6
  • 1
    Obviously it's 'one result' as you say. If I saw "0 of 1 results" I would just assume that it was a set phrase into which the program had inserted figures as appropriate. – Kate Bunting Mar 16 '20 at 13:15
  • The idiomatic choice (ie the one commonly used) seems to be "0 of 1 results", as strongly suggested by a Google search. This being a rather new 'expression', modelling on previous usages or using 'the logical choice' seems unwise. Note that we say 'More than one person was injured' but 'One or more of the species was/were discovered in each subsequent decade' (Which is correct: 'one or more is' or 'one or more are'? (see Derek Jennings's answer). 'Of' here is short for 'out of', – Edwin Ashworth Mar 16 '20 at 13:36
  • ... which doesn't really work in terms of standard, idiomatic English usage for the unnatural-sounding 'none out of one'. '0 of 1 results' sounds pretty technical, patterns on all the other examples, and is what I'd choose. – Edwin Ashworth Mar 16 '20 at 13:41
  • 1
    If I had the power, I would set myself up for success with "Displaying results: 0 of 1." – Yosef Baskin Mar 16 '20 at 13:45
  • Or write code that adds a final 's' if the result(s) figure is greater than one. – Michael Harvey Mar 16 '20 at 13:46
0

TL;DR

Practically speaking, in the world of software it doesn't really matter which you use.

Further Explanation

When speaking of empty result sets we use the plural:

the lab came up with zero results.

We also pluralize result sets other than one:

the labs came up with differing results.

However, we don't pluralize a single result:

the lab came up with one result.

Your discomfort seems to stem from the fact that your statement contains both a plural and a singular integer: 0 of 1. It might be useful here to look at how we would comfortably speak of other result sets.

1 of 5 results were shown to be false.

Here it causes us no consternation to speak of five results even though there is a singular integer involved. This is because the grammatical number is predicated on the quantity assigned to the object: 5 results.

In fact, we are used to hearing such assignments all the time.

4 out of 5 dentists recommend Crest toothpaste.
Two out of three workers are not saving enough for retirement.

So it is customary for the ear to hear the object of those statements pluralized. And what is customary can be hard to shake. So when we see

Displaying 0 of 1 result

in the output of a search, it makes us a bit uncomfortable. Since there is only one result set that contains the number 1, we rarely hear it.

And even though I believe that "0 of 1 result" is the grammatical way to go, I'm going to advise you at this point that it really doesn't matter. This falls under the banner of what I would call "computerese." Computers don't use English the way people do, at least not all the time. And we allow for the exceptions, for the most part, without really thinking about them.

When I started programming for a living I was a bit obsessed with outputting grammatical responses in my programs. I went to some degree of trouble to make sure that my programs output "You have 1 response" where appropriate instead of the "You have 1 responses" I would see in other people's software. Then I had to make those fine adjustments everywhere, and to maintain that code, and have other people maintain that code, and sometimes those others would decide such fine distinctions were too much trouble and would take them out. Then there was the problem of what to do about irregular plurals in some nouns. A pluralization class would be near impossible to write. It became more than a battle: a never-ending war for the sake of a concept of grammatical number that I alone seemed to be waging.

Eventually I called a truce. This was just common sense, given the fact that very few people were troubled when a software program seemed to mess up grammatical number in a small edge case. They just accepted the results, understood them without trouble, and went on with their lives. So did I.

Conclusion: Computers don't talk the way we do, and we have come to accept that.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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