What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 134 Stack Exchange communities.

When posting a comment, the character count shows "n characters left", until you hit 1 character remaining - at which point, it switches to the singular. Fair enough.

But is 0 singular? Are negative numbers? Both use the singular phrasing, instead of plural. This is kind of a discussion point; personally, I'd have plural for any value except for "1 character", but I don't know what you think...

(Admittedly, it's a pretty darn minor point - I don't know how often the 600 character cap is hit, but I can't imagine it happens all that often...)

-8 character

share|improve this question
18  
Oooooh, a fellow OCDer. –  squillman Aug 20 '09 at 2:42
    
Voting this up because this kind of stuff drives me batty. >.> –  Paul Schifferer Aug 20 '09 at 5:36
1  
A great opportunity to promote english.stackexchange.com –  ЯegDwight Sep 16 '10 at 0:06
    
It depends if its -∞ or -∞s... –  Question-Failed Sep 17 '10 at 10:06

5 Answers 5

up vote 9 down vote accepted

I respectfully refer you here

New users can't create new tags: show a singular or plural message?

share|improve this answer
    
Hey! I didn't tag it as 'bug'! I tagged it as 'possible bug'! There's a difference! ;) –  Margaret Aug 20 '09 at 7:12

It is 1 character and -1 character.

It is characters for everything else, including 0 characters.

This is apparently how English "grammar" defines it.

The best explanation of this is at: Good question: are fractions and decimals singular or plural?

Note this is not necessarily true in other languages.

share|improve this answer
10  
For some reason -1 being plural just makes more sense to me :( –  Ian Elliott Aug 20 '09 at 2:57
1  
-1 being plural is the mathematical definition, but not the grammatical definition. Being programmers, we all tend to sway to the mathematical. –  lkessler Aug 20 '09 at 3:07
2  
weird, i've never heard of -1 being singular. I would always say "negative one characters" –  Kip Nov 28 '09 at 17:43
1  
Is -1 singular or plural? on English.SE. (Disclosure: I have an answer there preferring -1 being plural. :p) –  ShreevatsaR Jan 28 '11 at 3:50

Time for some Math.abs()!

Clarity:

var plurality = (Math.abs(-8) == 1) ? "character" : "characters" ;
share|improve this answer
1  
I don't get it. –  TheTXI Aug 20 '09 at 2:54
    
Too esoteric? :) Just a suggestion to find the absolute value, and base plurality off of it. –  Jonathan Sampson Aug 20 '09 at 2:55
    
Starts to make sense now, but it didn't with revisions 1-5 –  Ian Elliott Aug 20 '09 at 2:58
    
Yeah; it was working inside my head...not as clearly when I put it out on the intarwebs. –  Jonathan Sampson Aug 20 '09 at 2:59

Yes, it's a very minor point. We should just make it "character(s) left" so we don't have to worry about figuring out when to start switching up the plurality.

share|improve this answer
18  
No! We should do it correctly. Speaking as a pedant, I am furious about this. I never noticed it before, but since it's been pointed out, I'll never be able to ignore it. –  Hilarious Comedy Pesto Aug 20 '09 at 2:47
2  
Kind of silly that they even implemented this feature in the first place since it only works if the value is 1. Waste of time ftw. –  Ian Elliott Aug 20 '09 at 2:49

It now says "-8 characters left".

share|improve this answer
4  
This post has -1 votes. –  Andrew Grimm Jul 2 '12 at 23:21

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .