Hacker News new | ask | show | jobs
by thaumasiotes 253 days ago
From a technical perspective you frequently need 0 in there.

From a pure convenience perspective, it doesn't make sense to assign ℕ to the positive integers when they're already called ℤ⁺. Now you have two convenient names for the smaller set and none for the larger set.

1 comments

By convenience I mean "convenient from a technical perspective", and yes, you often need 0 in there.

Your other argument doesn't make much sense. I learnt both in school and at university ℕ, ℕ₀, and ℤ as THE symbols for the natural numbers, the natural numbers including 0, and the whole numbers.

Fuck convenience. ℕ, ℕ₀, and ℤ it is :-) It is just so much prettier (ℤ⁺ is a really ugly symbol for such a nice set). It is actually also not inconvenient if you don't use static types.

On the other hand, even for writing a perfectly fine natural number like "10", you need the zero... Maybe it is just ℕ and ℤ after all.

And round we go.

What do you use for the negative integers?
I very rarely use just the negative integers, so I don't need a symbol for it.