News for hackers. Stuff that matters.
Re:Why is zero plural? (2024) by gerdesj on Tuesday January 21, 2025 @08:55PM (#42787875)
This looks like proof by assertion (and by logical extension - bollocks!):

"That is just how the language works. All numbers except exactly 1 are plural. Note that -1 can also be singular, but that depends on the context and dialect."

Three zeros and zero threes. It is a linguistic nicety/convention which is an idiom. The second example I give of "zero threes" does not imply that three is plural. If anything it merely implies belonging or associativity in a linguistic sense and certainly not a maths sense.

The notion of plural is a linguistic thing and might have a maths side line but I am not familiar with it. The assertion that all numbers (what does that even mean?) are plural except 1 (which one) is of course bollocks.

Linguistic tautology is not mathematics. That way lies madness.

Is this a Mathy April fool/fish thing?

Re:Why is zero plural? (2024) by plorkyeran on Tuesday January 21, 2025 @09:04PM (#42787958)
This is a question about the English language from someone learning the language, not a math question.
Re:Why is zero plural? (2024) by DonHopkins on Wednesday January 22, 2025 @01:03AM (#42789540)
Why are gerdesj's maths plural but your math is singular? Does he know more maths than you?

Personally I believe that all math is connected, and just different aspects of the same math, so there is only one, like a monotheistic God.

Re:Why is zero plural? (2024) by Saigonautica on Wednesday January 22, 2025 @01:58AM (#42789877)
It's not my place to critique your beliefs -- you may find Gödel's incompleteness theorem interesting to think about though. It was the end of the attempts to unify mathematics under a common set of axioms, as far as I know. I find it quite fascinating, personally.

There exist an infinite number of unprovable-but-true statements for any given set of axioms of sufficient complexity (e.g. arithmetic). I find it conceivable that having "more than one mathematics" would be quite practical!

Re:Why is zero plural? (2024) by hyrix on Tuesday January 21, 2025 @09:04PM (#42787955)
The answer is obviously because programmers want to be able to write

  f”{n} result{‘s’ if n == 1 else ‘’}”
Re:Why is zero plural? (2024) by thfuran on Tuesday January 21, 2025 @09:41PM (#42788284)
Then they had best steer well clear of Poland.
Re:Why is zero plural? (2024) by remram on Tuesday January 21, 2025 @09:34PM (#42788229)
> f"{n} result{'s' if n == 1 else ''}"

n>1 is even shorter than n!=1

(also you wrote == instead of != your code is backwards)

Re:Why is zero plural? (2024) by antiframe on Tuesday January 21, 2025 @10:00PM (#42788432)
But the whole point is that "0 result" is not correct but "0 results" is.
Re:Why is zero plural? (2024) by remram on Friday January 24, 2025 @10:21AM (#42813927)
The question is why is "0 results" correct. hyrix's answer is so that you have a simple equation for plural, my response is that if "0 result" was correct we would have an even simpler equation.
Re:Why is zero plural? (2024) by DonHopkins on Wednesday January 22, 2025 @01:06AM (#42789561)
That makes -infinity ... -1 singular too.
Re:Why is zero plural? (2024) by isodev on Wednesday January 22, 2025 @12:29AM (#42789345)
Must be the same programmers that make it impossible for me to sign into places with all the diacritics in my name.
Re:Why is zero plural? (2024) by mcphage on Tuesday January 21, 2025 @11:16PM (#42788945)
> This looks like proof by assertion

It’s not a proof at all, by anything. It’s a description of the singular / plural distinction in English.

> Linguistic tautology is not mathematics. That way lies madness.

Singular vs. plural is not a mathematical fact, it’s a linguistic fact. I’m sorry you consider that bollocks.

Re:Why is zero plural? (2024) by joe_the_user on Tuesday January 21, 2025 @11:50PM (#42789138)
I find your tone excessive here and expect better from hn. It's just a question and a semi-interesting one at that.
Re:Why is zero plural? (2024) by rerdavies on Tuesday January 21, 2025 @10:08PM (#42788493)
I rather like Greek for having a dual form as well as a singular and plural form. (Translators made me add dual-form messages as well as singular and plural form messages).
Re:Why is zero plural? (2024) by cyberax on Tuesday January 21, 2025 @10:41PM (#42788707)
Slovenian has four plural forms and Arabic has _six_. Here's a nice list with details and rules: https://www.gnu.org/software/gettext/manual/html_node/Plural...
Re:Why is zero plural? (2024) by dhosek on Tuesday January 21, 2025 @11:08PM (#42788893)
Looking at that page, I’m not buying the claims. I’m not an expert on Slovene, but my understanding is that it only has singular, dual and plural and not the 3–4 special case (which seems to have been confused with other Slavic languages like Czech and Slovak). I don’t think their dual rule is correct for Slovene either.

I’m surprised about the higher in the conversation comment about Greek as the dual exists in Modern Greek only as a grammatical feature of the written form of the word for “two” and is rare in classical Greek.

Re:Why is zero plural? (2024) by david_allison on Tuesday January 21, 2025 @11:38PM (#42789061)
From the underlying data:

* 1 dan

* 2 dneva

* 3 dnevi

* 5 dni

https://www.unicode.org/cldr/charts/latest/supplemental/lang...

Re:Why is zero plural? (2024) by cyberax on Tuesday January 21, 2025 @11:23PM (#42788980)
Having three plural forms for Slavic languages is typical, e.g. Ukrainian and Russian have them. Roughly speaking, one form for numerals ending with "1", a different form for numerals ending in "2", "3", "4", and the third form for the rest of them (simplifying a bit).

Slovenian appears to have a special word form for numerals ending in "2". Looks like it's a remnant of the dual number that existed in early Slavic languages: https://study.2tm.eu/blogs/the-dual-number-in-the-slovenian-... And it is indeed unusual!

Re:Why is zero plural? (2024) by shkkmo on Tuesday January 21, 2025 @09:03PM (#42787944)
> The second example I give of "zero threes" does not imply that three is plural. If anything it merely implies belonging or associativity in a linguistic sense and certainly not a maths sense.

It absolutely does denote plurality. "0 threes" uses "three" in the plural form and "1 three" uses "three" in a singular form.

Thus is not a question about math, but about linguistics.