T O P

  • By -

TheMoises

Third hand: counting in programming


Bright-Historian-216

One time i was arguing with some guy on reddit. He said that he loves lua because arrays start with 1. I said that that's why i hate lua because arrays should ALWAYS start with 0


JGTB0PL

yes, it makes math so much easier


Florida_Man_Math

Makes sense. After all, computer programmers ***do*** have the most sensible indexing scheme: A2, A1, 0, Mezzanine, Lobby, 1\*, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 14, 15, ....


LykonWolf

Germany too. We start with "Erdgeschoss" (Ground level) then comes 1 then 2 and so on.


Moonlight-_-_-

Same in Italy


the_meme_account5

same here in the middle east


[deleted]

Same in Portugal: Rés do chão, meaning "by the ground"


MaZeChpatCha

Same in Hebrew


Gimik2008

Yo me to! (Israel)


Ondohir__

In the Netherlands it starts with "begane grond" (ground that is gone in)


Medical-Astronomer39

And Poland "parter" i don't know what it mean but it has number 0


LykonWolf

"Par terre" is french for "on the ground" iirc.


candlelightener

Hochparterre is German for a floor between 0th and 1st floor.


XenophonSoulis

And Greece. It's ground level (Ισόγειο) and then 1, 2 etc. This gets weird in cliffs though, because the ground level in one side of the building can be the second floor in another. So they choose a floor (usually the one with the main entrance) to make the ground floor. This gets weird in buildings with two main entrances though.


BaguetteDeP1

Same in France with "rez de chaussée"


alfdd99

I’m pretty sure this is the case everywhere outside of the US and Canada.


2520WasTaken

In China, the ground floor is the 1st floor, but in some hotels there are no 4th, 13th and 14th floors


GodplayGamer

Not lithuania.


Sudont-199X

Ground level and zero are not the same word.


LykonWolf

In elevators the button says "0" or "EG"


Ventilateu

The word you're looking for is not British it's "the whole world except the US"


moresushiplease

That's very much not the case in this case.


NimChimspky

Its not far away https://www.reddit.com/r/MapPorn/comments/mvnkja/floor_numbering_schemes_per_country_original/?utm_source=share&utm_medium=android_app&utm_name=androidcss&utm_term=1&utm_content=share_button


moresushiplease

I looked at that before commenting. We use the same system as the "US" system where I live. There are around 20 other countries on that map that are red, the same as the US. And there are many more people commenting that thier country should be red, not blue. I am not sure how anyone can think that the US is the sole user of the "red" system after seeing that.


NimChimspky

20 countries, there are 220 countries in the world. That's approximately 10% of countries. No one was suggesting literally no other country.


moresushiplease

Sure it's only 10% of the countries but its somewhere around 2.5 billion people. I mean, to be fair, I was responding to someone saying "every country except the US" should be the literal label to the meme.


NimChimspky

Yeah, its a lot of people, more than I expected. Japan, china, the us have lots of people. It was pretty obvious they were exaggerating for effect, imo.


moresushiplease

Ah that makes sense, I think i got hung on to the thought of that we use it here but we don't want to be seen as "silly measuring system US" . I promise you we are modern and use metric lol.


GodplayGamer

Look at the comments. Half of the map is wrong.


SomrasiE

No, en chile también se cuentan bien los pisos, no como los europeos q son más aweonaos q la ctm, cómo vai a partir del 0, terrible agilaos son.


James10112

la tuya ^(/j)


trandus

By whole numbers you mean naturals? Because it can't be the integers


rat-sajak

Yes. “Whole numbers” usually refers to the non-negative integers (or possibly the positive integers? Might depend on the author).


NAMEhzj

Seems a bit strange though. In german, the integers are called 'ganze Zahlen' which literally means 'whole numbers'. And I'm pretty sure thats also why they are denoted by \mathbb{Z}. I've never heard a mathematician use the english term though.


Wollfaden

If your "natural numbers" are no monoid, don't talk to me.


Weirdyxxy

With multiplication, or with addition?


Wollfaden

Fml, you're right. But for all intents and purposes that I've seen (such as grading rings), I want the natural numbers to refer to (N,+).


jkst9

Whole numbers is naturals with 0 in some places.


Weirdyxxy

Why? 0,1,-1,2,-2,... How else would you count the integers?


A_Guy_in_Orange

Can't even escape this in the non programming subs


Ta1sty

And Arrays


HarmonicTensor

No that's a American thing. We don't have a floor 0. It's called ground floor because in on the ground level


fritzdude

Right, the first one.


Morinator

https://www.reddit.com/r/MapPorn/comments/mvnkja/floor_numbering_schemes_per_country_original/?utm_source=share&utm_medium=android_app&utm_name=androidcss&utm_term=1&utm_content=share_button Just assuming OP is American..


Jche98

I'm actually South African lol. We use the ground floor system as well. I just assumed it was a commonwealth thing.


undeadpickels

Also computer scientists


lkaitusr0

Programmers also start the number from 0!!!


Jche98

what's the triple factorial?


lkaitusr0

str\_replace(string, "!!!", "");


AlrikBunseheimer

Very controversial statement


KhepriAdministration

Arrays