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. Why VB is popular in America!

Why VB is popular in America!

Scheduled Pinned Locked Moved The Lounge
c++phpvisual-studiocom
75 Posts 34 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.
  • N Nish Nishant

    I realized this as I was explaining the 1s floor vs 2nd floor differences[^] between UK and American english. In the UK (and India, Australia) floors are 0-indexed. The ground floor is 0, the first floor above ground is 1, and so on. The basement is usually -1. In the US (and I believe Canada too), floors are 1-indexed. The ground floor is 1, the next floor is 2 and so on. I don't think negative numbering is used for sub-ground levels. May explain why a lot of the C/C++ aficionados are European. While VB and BASIC are essentially American inventions.

    Regards, Nish


    My technology blog: voidnish.wordpress.com

    R Offline
    R Offline
    Rutvik Dave
    wrote on last edited by
    #60

    There is no way some people are going to take this as joke :laugh:

    1 Reply Last reply
    0
    • N Nish Nishant

      I realized this as I was explaining the 1s floor vs 2nd floor differences[^] between UK and American english. In the UK (and India, Australia) floors are 0-indexed. The ground floor is 0, the first floor above ground is 1, and so on. The basement is usually -1. In the US (and I believe Canada too), floors are 1-indexed. The ground floor is 1, the next floor is 2 and so on. I don't think negative numbering is used for sub-ground levels. May explain why a lot of the C/C++ aficionados are European. While VB and BASIC are essentially American inventions.

      Regards, Nish


      My technology blog: voidnish.wordpress.com

      S Offline
      S Offline
      SeattleC
      wrote on last edited by
      #61

      Oh, thinly disguised US-bashing troll. Maybe the reason why VB is "popular" in the US is because the US leads the world in computing, with more software, more software engineers, more papers and patents, etc. That means even relatively lame tools like VB have a larger following here. Maybe also it's because BASIC was invented in 1963 at Dartmouth College in New Hampshire, when most of Europe was still dreaming pulp sci-fi dreams of "electronic brains". Many BASICs in the US can address the zero-th element of an array. The ANSI standard for BASIC even has a statement, called OPTION BASE that says whether to start numbering array elements at 0 or 1. The US is also the birthplace of C, C++, and Java, which unashamedly number arrays from 0. I've been told these languages are even popular in Europe.

      N 1 Reply Last reply
      0
      • S SeattleC

        Oh, thinly disguised US-bashing troll. Maybe the reason why VB is "popular" in the US is because the US leads the world in computing, with more software, more software engineers, more papers and patents, etc. That means even relatively lame tools like VB have a larger following here. Maybe also it's because BASIC was invented in 1963 at Dartmouth College in New Hampshire, when most of Europe was still dreaming pulp sci-fi dreams of "electronic brains". Many BASICs in the US can address the zero-th element of an array. The ANSI standard for BASIC even has a statement, called OPTION BASE that says whether to start numbering array elements at 0 or 1. The US is also the birthplace of C, C++, and Java, which unashamedly number arrays from 0. I've been told these languages are even popular in Europe.

        N Offline
        N Offline
        Nish Nishant
        wrote on last edited by
        #62

        Member 2941392 wrote:

        Oh, thinly disguised US-bashing troll.

        The US is my home :-)

        Member 2941392 wrote:

        Maybe the reason why VB is "popular" in the US is because the US leads the world in computing, with more software, more software engineers, more papers and patents, etc. That means even relatively lame tools like VB have a larger following here. Maybe also it's because BASIC was invented in 1963 at Dartmouth College in New Hampshire, when most of Europe was still dreaming pulp sci-fi dreams of "electronic brains".
         
        Many BASICs in the US can address the zero-th element of an array. The ANSI standard for BASIC even has a statement, called OPTION BASE that says whether to start numbering array elements at 0 or 1.

        Okay, the original post was meant as humor (hence the joke icon). That said, it's also a CodeProject meme from a few years ago where some of us (mostly John, CG and myself) would joke about C/C++ guys 0-indexing in real life vs VB guys who'd use 1-based indexing. By default, Dim a as int(10) means a 11-item array indexed from 0 to 10. int a[10] means a 10-item array indexed from 0 to 9. So typically Basic devs would just treat it as a 10-item collection indexed from 1 to 10 (ignoring the 0th element).

        Regards, Nish


        My technology blog: voidnish.wordpress.com

        1 Reply Last reply
        0
        • N Nish Nishant

          Yes but when anyone says first floor here we always mean the ground floor. This confuses Brits and Aussies, and some Indians as well.

          Regards, Nish


          My technology blog: voidnish.wordpress.com

          U Offline
          U Offline
          User 3760773
          wrote on last edited by
          #63

          Hmm... Even in C we talk about an array, element array[0] is the 1st one, isn't it?

          N 1 Reply Last reply
          0
          • U User 3760773

            Hmm... Even in C we talk about an array, element array[0] is the 1st one, isn't it?

            N Offline
            N Offline
            Nish Nishant
            wrote on last edited by
            #64

            Member 3763608 wrote:

            Even in C we talk about an array, element array[0] is the 1st one, isn't it?

            Yes, and that's the premise of this joke/thread :-)

            Regards, Nish


            My technology blog: voidnish.wordpress.com

            1 Reply Last reply
            0
            • N Nish Nishant

              I realized this as I was explaining the 1s floor vs 2nd floor differences[^] between UK and American english. In the UK (and India, Australia) floors are 0-indexed. The ground floor is 0, the first floor above ground is 1, and so on. The basement is usually -1. In the US (and I believe Canada too), floors are 1-indexed. The ground floor is 1, the next floor is 2 and so on. I don't think negative numbering is used for sub-ground levels. May explain why a lot of the C/C++ aficionados are European. While VB and BASIC are essentially American inventions.

              Regards, Nish


              My technology blog: voidnish.wordpress.com

              I Offline
              I Offline
              I explore code
              wrote on last edited by
              #65

              i think to eliminate this disparity, the shift is now towards G (ground), 1,2,3.. not sure for underground levels, may be -1, -2. I don't know how many people would remember high-school Coordinate Geometry to try to rationalise the (-) sign.. :) Good humor anyway...

              1 Reply Last reply
              0
              • I ii_noname_ii

                Huh?! Should I be worried about american predator drones dropping bombs to liberate me from the tyranny of C languages? *waves a white flag with VB on it*

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

                ii_noname_ii wrote:

                Should I be worried about american predator drones dropping bombs

                No, unless you have oil.

                G 1 Reply Last reply
                0
                • B BobJanova

                  What is floor overrun? Yes we have multi-storey buildings. What kind of country do you think it is :p

                  P Offline
                  P Offline
                  Paul M Watt
                  wrote on last edited by
                  #67

                  BobJanova wrote:

                  What is floor overrun?

                  I was making a play on concepts from programming, think of buffer overrun.

                  1 Reply Last reply
                  0
                  • N Nish Nishant

                    I realized this as I was explaining the 1s floor vs 2nd floor differences[^] between UK and American english. In the UK (and India, Australia) floors are 0-indexed. The ground floor is 0, the first floor above ground is 1, and so on. The basement is usually -1. In the US (and I believe Canada too), floors are 1-indexed. The ground floor is 1, the next floor is 2 and so on. I don't think negative numbering is used for sub-ground levels. May explain why a lot of the C/C++ aficionados are European. While VB and BASIC are essentially American inventions.

                    Regards, Nish


                    My technology blog: voidnish.wordpress.com

                    J Offline
                    J Offline
                    Jwalant Natvarlal Soneji
                    wrote on last edited by
                    #68

                    Well, the other thing to notice about Americas (may be in Europe as well, don't know) that the so called "believe in science only" people don't have floor no 13th. 14th floor after 12th. :laugh:

                    Regards, Jwalant Natvarlal Soneji

                    1 Reply Last reply
                    0
                    • N Nish Nishant

                      I realized this as I was explaining the 1s floor vs 2nd floor differences[^] between UK and American english. In the UK (and India, Australia) floors are 0-indexed. The ground floor is 0, the first floor above ground is 1, and so on. The basement is usually -1. In the US (and I believe Canada too), floors are 1-indexed. The ground floor is 1, the next floor is 2 and so on. I don't think negative numbering is used for sub-ground levels. May explain why a lot of the C/C++ aficionados are European. While VB and BASIC are essentially American inventions.

                      Regards, Nish


                      My technology blog: voidnish.wordpress.com

                      E Offline
                      E Offline
                      ekolis
                      wrote on last edited by
                      #69

                      So, now I'm curious... in the UK versions of the Zelda games, do you enter the dungeons on "1F", or some other level?

                      1 Reply Last reply
                      0
                      • L Lost User

                        ii_noname_ii wrote:

                        Should I be worried about american predator drones dropping bombs

                        No, unless you have oil.

                        G Offline
                        G Offline
                        ghle
                        wrote on last edited by
                        #70

                        Shameel wrote:

                        ii_noname_ii wrote:

                        Should I be worried about american predator drones dropping bombs

                        No, unless you have oil.

                        Or the guy on the floor above you has it.

                        Gary

                        I 1 Reply Last reply
                        0
                        • L Lost User

                          Again, it depends on the building. Some may do that, some may do as I posted. I guess my point is wether your an Aussie, Brit, or born in the USofA you will be confused unless you observe what the building is doing. On a similar point rarely (but not always) is there a 13th floor. Superstition and all. However, as I said this is not always the case. Similarily in Japan you will see the 4th floor missing (not always though).

                          Computers have been intelligent for a long time now. It just so happens that the program writers are about as effective as a room full of monkeys trying to crank out a copy of Hamlet.

                          N Offline
                          N Offline
                          Nchek2000
                          wrote on last edited by
                          #71

                          Also in China. It is because number 4 can be read as 'Dead'/死.

                          L 1 Reply Last reply
                          0
                          • G ghle

                            Shameel wrote:

                            ii_noname_ii wrote:

                            Should I be worried about american predator drones dropping bombs

                            No, unless you have oil.

                            Or the guy on the floor above you has it.

                            Gary

                            I Offline
                            I Offline
                            ii_noname_ii
                            wrote on last edited by
                            #72

                            I have LOTS of oil and gas... lol But I use VB?! Please spare me USA?! lol

                            1 Reply Last reply
                            0
                            • N Nchek2000

                              Also in China. It is because number 4 can be read as 'Dead'/死.

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

                              Yep, same in Japan (death and all.. Pronounced SHI)

                              Computers have been intelligent for a long time now. It just so happens that the program writers are about as effective as a room full of monkeys trying to crank out a copy of Hamlet.

                              1 Reply Last reply
                              0
                              • D Dalek Dave

                                That very thing had me confused in a hotel in Marina Del Rey. I was told my room was on the second floor, and then realised it was actually on the first floor!

                                ------------------------------------ I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave CCC Link[^] Trolls[^]

                                K Offline
                                K Offline
                                KP Lee
                                wrote on last edited by
                                #74

                                Dalek Dave wrote:

                                I was told my room was on the second floor, and then realised it was actually on the first floor!

                                So, you're part of that strange group of people that believe the first floor is one flight above ground level, or did that hotel's lobby start in the first basement's parking garage? :) Actually both C# and VB.NET are consistent, in that the first row's location is 0. (I tend to say "index", I'm told it is actually "offset".) What's confusing in VB is when you ask for 10 rows in an array, you are actually asking for 11 when you come from a C# background and writing in VB.NET. It makes sense when you think about it. The looping where clause in C# checks "i<10" while VB goes "to 9". Both use the original size amount allocated as the terminator of the loop. (At least, if you don't screw up and ask for 10 in VB, when you meant to ask for 9 if you'd understood the allocation mechanism in VB to begin with.) Today, I went to a building's 15th floor and decided to take the stairs down. I like to check each floor as I go down. Wait, this is the 13th floor!!! Oh duh, the second bank of elevators started at 13, just didn't hit me. It always cracks me up when I'm going down one flight of stairs and I go from the 14th to the 12th floor in a modern building. It's even better when I am using stairway 13 to do so. That building required you to go up two flights of stairs to get to the second floor because one whole level of the building was dedicated to air conditioning and didn't allow user access. I kind of wondered how they accessed it for maintenance since there wasn't an unmarked door in the stairway. I figured there's a secret handshake you can use in the elevator to get there. How many coding languages require you to bypass "13" (0xD) as an offset? :laugh:

                                1 Reply Last reply
                                0
                                • N Nish Nishant

                                  I realized this as I was explaining the 1s floor vs 2nd floor differences[^] between UK and American english. In the UK (and India, Australia) floors are 0-indexed. The ground floor is 0, the first floor above ground is 1, and so on. The basement is usually -1. In the US (and I believe Canada too), floors are 1-indexed. The ground floor is 1, the next floor is 2 and so on. I don't think negative numbering is used for sub-ground levels. May explain why a lot of the C/C++ aficionados are European. While VB and BASIC are essentially American inventions.

                                  Regards, Nish


                                  My technology blog: voidnish.wordpress.com

                                  K Offline
                                  K Offline
                                  KP Lee
                                  wrote on last edited by
                                  #75

                                  Nishant Sivakumar wrote:

                                  In the UK (and India, Australia) floors are 0-indexed. The ground floor is 0, the first floor above ground is 1, and so on. The basement is usually -1.

                                  I have only seen languages that allow you to customize the index scale or allows relative locations like C++ that would allow you to use negative offsets in your location. VB.NET offsets start at 0, just the same as C#. If anything, VB should be more popular in Europe because when you define ten items in VB, it's (9) and the loops go "to 9". In C# you declare [10] for ten items and the loops are "< 10". That's more American than VB. In the US, there isn't a standard for floors below ground, but for many large buildings where the parking is below ground level under the building, they are likely P1, P2, etc. So the ground floor is never 0, it is either 1 or L (for Lobby) The first floor going up from L would be 2. Down would probably be P1.

                                  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