Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Born programmer?

Born programmer?

Scheduled Pinned Locked Moved The Lounge
question
50 Posts 29 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • I Indivara

    Overheard today (kids talking in the back seat) Elder: What number is the lowest floor in the building? (referring to place we just left) Younger: Zeroth floor Elder: No it is the first floor! Younger: No, zeroth floor! (this goes on for some time) Younger is 5. :)

    L Offline
    L Offline
    Lost User
    wrote on last edited by
    #4

    0 is ground level. A floor is above ground level, and anything else is wrong. If 1 was ground floor, 0 would be in the ground. Then it would stop making sense to even count negative.

    Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^][](X-Clacks-Overhead: GNU Terry Pratchett)

    I M 2 Replies Last reply
    0
    • L Lost User

      0 is ground level. A floor is above ground level, and anything else is wrong. If 1 was ground floor, 0 would be in the ground. Then it would stop making sense to even count negative.

      Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^][](X-Clacks-Overhead: GNU Terry Pratchett)

      I Offline
      I Offline
      Indivara
      wrote on last edited by
      #5

      Over here the floor at ground level is the first floor. It does make sense in a way, since the highest floor has a number equal to the total number of floors. The ones below the ground are B1, B2 etc, increasing downwards. My point was that kids don't usually count from zero (unless they were C programmers in a previous incarnation?)

      L 1 Reply Last reply
      0
      • I Indivara

        Over here the floor at ground level is the first floor. It does make sense in a way, since the highest floor has a number equal to the total number of floors. The ones below the ground are B1, B2 etc, increasing downwards. My point was that kids don't usually count from zero (unless they were C programmers in a previous incarnation?)

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #6

        Indivara wrote:

        The ones below the ground are B1, B2 etc, increasing downwards.

        As does any modern hospital. I was wondering why there was a sudden need of a character-prefix. Where do the buttons prefixed with C lead to?

        Indivara wrote:

        My point was that kids don't usually count from zero (unless they were C programmers in a previous incarnation?)

        It is not a point of from "where" to start counting, as to count "what is". Youngest is right. Go stand outside. That's 0 floors. You are at "level 0". Yes, build a floor, we'll call that one. Dig, and we'll call it -1. The latter is counting, but the first is merely a statement of what is if you go outside - 0 floors!

        Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^][](X-Clacks-Overhead: GNU Terry Pratchett)

        OriginalGriffO M L I R 6 Replies Last reply
        0
        • L Lost User

          Indivara wrote:

          The ones below the ground are B1, B2 etc, increasing downwards.

          As does any modern hospital. I was wondering why there was a sudden need of a character-prefix. Where do the buttons prefixed with C lead to?

          Indivara wrote:

          My point was that kids don't usually count from zero (unless they were C programmers in a previous incarnation?)

          It is not a point of from "where" to start counting, as to count "what is". Youngest is right. Go stand outside. That's 0 floors. You are at "level 0". Yes, build a floor, we'll call that one. Dig, and we'll call it -1. The latter is counting, but the first is merely a statement of what is if you go outside - 0 floors!

          Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^][](X-Clacks-Overhead: GNU Terry Pratchett)

          OriginalGriffO Offline
          OriginalGriffO Offline
          OriginalGriff
          wrote on last edited by
          #7

          Eddy Vluggen wrote:

          Where do the buttons prefixed with C lead to?

          An alternate dimension.

          Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...

          "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
          "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

          X A 2 Replies Last reply
          0
          • I Indivara

            Overheard today (kids talking in the back seat) Elder: What number is the lowest floor in the building? (referring to place we just left) Younger: Zeroth floor Elder: No it is the first floor! Younger: No, zeroth floor! (this goes on for some time) Younger is 5. :)

            A Offline
            A Offline
            Afzaal Ahmad Zeeshan
            wrote on last edited by
            #8

            Indivara wrote:

            No it is the first floor!

            Elder one is a data scientist.

            The shit I complain about It's like there ain't a cloud in the sky and it's raining out - Eminem ~! Firewall !~

            1 Reply Last reply
            0
            • I Indivara

              Overheard today (kids talking in the back seat) Elder: What number is the lowest floor in the building? (referring to place we just left) Younger: Zeroth floor Elder: No it is the first floor! Younger: No, zeroth floor! (this goes on for some time) Younger is 5. :)

              D Offline
              D Offline
              Daniel Pfeffer
              wrote on last edited by
              #9

              In past lives, one was a C programmer, the other was a Fortran programmer. :)

              If you have an important point to make, don't try to be subtle or clever. Use a pile driver. Hit the point once. Then come back and hit it again. Then hit it a third time - a tremendous whack. --Winston Churchill

              1 Reply Last reply
              0
              • L Lost User

                Indivara wrote:

                The ones below the ground are B1, B2 etc, increasing downwards.

                As does any modern hospital. I was wondering why there was a sudden need of a character-prefix. Where do the buttons prefixed with C lead to?

                Indivara wrote:

                My point was that kids don't usually count from zero (unless they were C programmers in a previous incarnation?)

                It is not a point of from "where" to start counting, as to count "what is". Youngest is right. Go stand outside. That's 0 floors. You are at "level 0". Yes, build a floor, we'll call that one. Dig, and we'll call it -1. The latter is counting, but the first is merely a statement of what is if you go outside - 0 floors!

                Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^][](X-Clacks-Overhead: GNU Terry Pratchett)

                M Offline
                M Offline
                Mark_Wallace
                wrote on last edited by
                #10

                Eddy Vluggen wrote:

                Where do the buttons prefixed with C lead to?

                The Coffee machines, of course.

                I wanna be a eunuchs developer! Pass me a bread knife!

                1 Reply Last reply
                0
                • I Indivara

                  Overheard today (kids talking in the back seat) Elder: What number is the lowest floor in the building? (referring to place we just left) Younger: Zeroth floor Elder: No it is the first floor! Younger: No, zeroth floor! (this goes on for some time) Younger is 5. :)

                  K Offline
                  K Offline
                  Kenneth Haugland
                  wrote on last edited by
                  #11

                  I think I have spotted the problem here. The elder programs in Excel while the younger programs in C# :D

                  1 Reply Last reply
                  0
                  • L Lost User

                    Indivara wrote:

                    The ones below the ground are B1, B2 etc, increasing downwards.

                    As does any modern hospital. I was wondering why there was a sudden need of a character-prefix. Where do the buttons prefixed with C lead to?

                    Indivara wrote:

                    My point was that kids don't usually count from zero (unless they were C programmers in a previous incarnation?)

                    It is not a point of from "where" to start counting, as to count "what is". Youngest is right. Go stand outside. That's 0 floors. You are at "level 0". Yes, build a floor, we'll call that one. Dig, and we'll call it -1. The latter is counting, but the first is merely a statement of what is if you go outside - 0 floors!

                    Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^][](X-Clacks-Overhead: GNU Terry Pratchett)

                    L Offline
                    L Offline
                    Lost User
                    wrote on last edited by
                    #12

                    The casement?

                    1 Reply Last reply
                    0
                    • I Indivara

                      Overheard today (kids talking in the back seat) Elder: What number is the lowest floor in the building? (referring to place we just left) Younger: Zeroth floor Elder: No it is the first floor! Younger: No, zeroth floor! (this goes on for some time) Younger is 5. :)

                      P Offline
                      P Offline
                      PIEBALDconsult
                      wrote on last edited by
                      #13

                      The problem is that many people associate the word "first" with the number "one" and think that the two concepts are the same when they are not, they are distinct concepts. In your children's case; I suspect that both are correct.

                      1 Reply Last reply
                      0
                      • L Lost User

                        Indivara wrote:

                        The ones below the ground are B1, B2 etc, increasing downwards.

                        As does any modern hospital. I was wondering why there was a sudden need of a character-prefix. Where do the buttons prefixed with C lead to?

                        Indivara wrote:

                        My point was that kids don't usually count from zero (unless they were C programmers in a previous incarnation?)

                        It is not a point of from "where" to start counting, as to count "what is". Youngest is right. Go stand outside. That's 0 floors. You are at "level 0". Yes, build a floor, we'll call that one. Dig, and we'll call it -1. The latter is counting, but the first is merely a statement of what is if you go outside - 0 floors!

                        Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^][](X-Clacks-Overhead: GNU Terry Pratchett)

                        I Offline
                        I Offline
                        Indivara
                        wrote on last edited by
                        #14

                        It gets worse actually Mezzanine is M. Roof is R or RF. Basement is B or BF when only one level is underground. Platform is P, except when it is Parking. Sometimes the car park floors are closer together and get separate numbers P1 onwards, which correspond to different floor numbers of the building. And sometimes they are labelled in Japanese, making a ride on the elevator more adventurous. :D

                        L T 2 Replies Last reply
                        0
                        • I Indivara

                          Overheard today (kids talking in the back seat) Elder: What number is the lowest floor in the building? (referring to place we just left) Younger: Zeroth floor Elder: No it is the first floor! Younger: No, zeroth floor! (this goes on for some time) Younger is 5. :)

                          M Offline
                          M Offline
                          Marc Clifton
                          wrote on last edited by
                          #15

                          He has clearly developed a healthy disdain for VB (but probably doesn't know it yet.) ;) Marc

                          Imperative to Functional Programming Succinctly Contributors Wanted for Higher Order Programming Project! Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny

                          1 Reply Last reply
                          0
                          • I Indivara

                            Overheard today (kids talking in the back seat) Elder: What number is the lowest floor in the building? (referring to place we just left) Younger: Zeroth floor Elder: No it is the first floor! Younger: No, zeroth floor! (this goes on for some time) Younger is 5. :)

                            K Offline
                            K Offline
                            Kiriander
                            wrote on last edited by
                            #16

                            It gets weirder: Some countries have different way to count floors. In Russia, the ground floor is the first floor. So a building with 3 floors has floors 1 to 3. In Germany, the ground floor is called the ground floor and the second floor is called the first floor. So a three-floor building would have floors 0 (ground) to 2. At least, there's a word for "above-ground floor" which I use.

                            D 1 Reply Last reply
                            0
                            • OriginalGriffO OriginalGriff

                              It's probably the imperial system - it rots the brain you know! :laugh:

                              Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...

                              X Offline
                              X Offline
                              xiecsuk
                              wrote on last edited by
                              #17

                              Come on Griff, there is nothing wrong with the Imperial system of measurement. 12 inches in a foot 3 feet in a yard 1760 yards in a mile Makes perfect sense to me.

                              K 1 Reply Last reply
                              0
                              • OriginalGriffO OriginalGriff

                                Eddy Vluggen wrote:

                                Where do the buttons prefixed with C lead to?

                                An alternate dimension.

                                Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...

                                X Offline
                                X Offline
                                xiecsuk
                                wrote on last edited by
                                #18

                                Or the crematorium?? But then that is an alternate dimension!!

                                M 1 Reply Last reply
                                0
                                • I Indivara

                                  Overheard today (kids talking in the back seat) Elder: What number is the lowest floor in the building? (referring to place we just left) Younger: Zeroth floor Elder: No it is the first floor! Younger: No, zeroth floor! (this goes on for some time) Younger is 5. :)

                                  O Offline
                                  O Offline
                                  obs123
                                  wrote on last edited by
                                  #19

                                  It should be obvious - Array index (in most of the cases) starts normally from 0. That explain a lot! :)

                                  1 Reply Last reply
                                  0
                                  • L Lost User

                                    0 is ground level. A floor is above ground level, and anything else is wrong. If 1 was ground floor, 0 would be in the ground. Then it would stop making sense to even count negative.

                                    Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^][](X-Clacks-Overhead: GNU Terry Pratchett)

                                    M Offline
                                    M Offline
                                    maze3
                                    wrote on last edited by
                                    #20

                                    a floor is a floor. A floor is the walking surface of a room or vehicle. if you have 2 floors is your list, I mean building! How many items in your Building? 2 floors. And so the first floor in your building is the [0] item, no, i mean [0] floor. As such it is Ground Floor. And the 2nd item in your building is the 1st Floor. See, simple.

                                    1 Reply Last reply
                                    0
                                    • I Indivara

                                      Overheard today (kids talking in the back seat) Elder: What number is the lowest floor in the building? (referring to place we just left) Younger: Zeroth floor Elder: No it is the first floor! Younger: No, zeroth floor! (this goes on for some time) Younger is 5. :)

                                      N Offline
                                      N Offline
                                      ngoj
                                      wrote on last edited by
                                      #21

                                      I don't think this is about floors, look at the title again. And, yes of course, you can not learn coding unless you were born programmer. Zero floor approach is a good sign, the younger kid is the one of us!

                                      1 Reply Last reply
                                      0
                                      • X xiecsuk

                                        Or the crematorium?? But then that is an alternate dimension!!

                                        M Offline
                                        M Offline
                                        Magrat
                                        wrote on last edited by
                                        #22

                                        Actually you'd enter the 'Twilight Zone'.

                                        1 Reply Last reply
                                        0
                                        • OriginalGriffO OriginalGriff

                                          Eddy Vluggen wrote:

                                          Where do the buttons prefixed with C lead to?

                                          An alternate dimension.

                                          Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...

                                          A Offline
                                          A Offline
                                          Alister Morton
                                          wrote on last edited by
                                          #23

                                          The cellars? Much more gothic than the basements.

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups