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. Visual Basic - I'm in Hell [modified]

Visual Basic - I'm in Hell [modified]

Scheduled Pinned Locked Moved The Lounge
csharpvisual-studioquestionarchitecture
59 Posts 30 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.
  • R realJSOP

    I am about to start my first day at a new job doing VB.Net (I think I just threw up a little in my mouth, and I didn't even say it out loud). How do you guys work with this without going absolutely insane? 0) "Dim" - what you must be if you actually *like* VB 1) Specifying the type AFTER the variable name - the order of the universe should not be changed 2) Pointless sytax - "as", "of", "is", "isnot", "then", "end" - why did they omit the really useful ones, like "whetherornot", "notquite", "absenceoflogic", and "barf"? 3) If there's a "Dim", why isn't there a "bright" and "off"? 4) Why is there a solid line at the end of a source file? When it stops scrolling, I must be at the end of the file - I don't need a line to show that I am. 5) Explicit, strict and infer - three different ways to make your code as reliable as soggy bread. 6) Why? Just WHY? I question my ability to survive in this kind of environment. I asked my wife to hid all of my pistols so I don't feel compelled to shoot myself... The IDE just shut down with this message: Visual Studio is busy. We're trying to figure out where we went wrong. Seriously, we didn't think this Visual Basic thing would last more than a couple of months, yet here you are trying to make sense of something that makes none. HELLO! IT'S 2009! Get a real job, loser, and learn C#. I hope I don't lose my Platinum Member status as a result of this job... I will NOT be posting VB articles.

    .45 ACP - because shooting twice is just silly
    -----
    "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
    -----
    "The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001

    modified on Tuesday, November 24, 2009 7:31 AM

    C Offline
    C Offline
    Corinna John
    wrote on last edited by
    #18

    Where's amnesty international? Forcing people to do VB is an abuse of economic power and obviously against human rights.

    John Simmons / outlaw programmer wrote:

    1. "Dim" - what you must be if you actually *like* VB

    Once upon a long, long time there were many little BASIC languages. They wanted to make programming as easy as talking, so they used fragments of english words as commands. The fragments were hardly readable and didn't really remind of the words they were taken from, but anyway the code looked a little bit like bad English ... instead of good code.

    John Simmons / outlaw programmer wrote:

    1. Specifying the type AFTER the variable name

    Come on, that's just like Pascal. ;) You're not alone!

    John Simmons / outlaw programmer wrote:

    1. Pointless sytax - "as", "of", "is", "isnot"

    Don't forget to use Something where something is not Nothing.

    John Simmons / outlaw programmer wrote:

    1. Why is there a solid line at the end of a source file?

    Because in ancient times the hard drives were slower. When the page stopped scrolling, the computer needed a little time to read the next lines of code. The line means "Don't wait, there are no further lines".

    John Simmons / outlaw programmer wrote:

    I hope I don't lose my Platinum Member status as a result of this job...

    You will lose your sanity, your good mood, your sleep and health - but you'll always keep your status. :thumbsup: By the way, VB coders are cheap just as road sweepers and trash collectors are.

    This statement is false.

    modified on Tuesday, November 24, 2009 8:19 AM

    V 1 Reply Last reply
    0
    • R realJSOP

      I am about to start my first day at a new job doing VB.Net (I think I just threw up a little in my mouth, and I didn't even say it out loud). How do you guys work with this without going absolutely insane? 0) "Dim" - what you must be if you actually *like* VB 1) Specifying the type AFTER the variable name - the order of the universe should not be changed 2) Pointless sytax - "as", "of", "is", "isnot", "then", "end" - why did they omit the really useful ones, like "whetherornot", "notquite", "absenceoflogic", and "barf"? 3) If there's a "Dim", why isn't there a "bright" and "off"? 4) Why is there a solid line at the end of a source file? When it stops scrolling, I must be at the end of the file - I don't need a line to show that I am. 5) Explicit, strict and infer - three different ways to make your code as reliable as soggy bread. 6) Why? Just WHY? I question my ability to survive in this kind of environment. I asked my wife to hid all of my pistols so I don't feel compelled to shoot myself... The IDE just shut down with this message: Visual Studio is busy. We're trying to figure out where we went wrong. Seriously, we didn't think this Visual Basic thing would last more than a couple of months, yet here you are trying to make sense of something that makes none. HELLO! IT'S 2009! Get a real job, loser, and learn C#. I hope I don't lose my Platinum Member status as a result of this job... I will NOT be posting VB articles.

      .45 ACP - because shooting twice is just silly
      -----
      "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
      -----
      "The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001

      modified on Tuesday, November 24, 2009 7:31 AM

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

      John Simmons / outlaw programmer wrote:

      HELLO! IT'S 2009! Get a real job, loser, and learn C#.

      I seem to recall a lot of C++ folks dissing C# when it was new. I think they actually compared it to VB due to the warm and fuzzy front end and lack of pointers. Times have certainly changed...

      C V 2 Replies Last reply
      0
      • R realJSOP

        I am about to start my first day at a new job doing VB.Net (I think I just threw up a little in my mouth, and I didn't even say it out loud). How do you guys work with this without going absolutely insane? 0) "Dim" - what you must be if you actually *like* VB 1) Specifying the type AFTER the variable name - the order of the universe should not be changed 2) Pointless sytax - "as", "of", "is", "isnot", "then", "end" - why did they omit the really useful ones, like "whetherornot", "notquite", "absenceoflogic", and "barf"? 3) If there's a "Dim", why isn't there a "bright" and "off"? 4) Why is there a solid line at the end of a source file? When it stops scrolling, I must be at the end of the file - I don't need a line to show that I am. 5) Explicit, strict and infer - three different ways to make your code as reliable as soggy bread. 6) Why? Just WHY? I question my ability to survive in this kind of environment. I asked my wife to hid all of my pistols so I don't feel compelled to shoot myself... The IDE just shut down with this message: Visual Studio is busy. We're trying to figure out where we went wrong. Seriously, we didn't think this Visual Basic thing would last more than a couple of months, yet here you are trying to make sense of something that makes none. HELLO! IT'S 2009! Get a real job, loser, and learn C#. I hope I don't lose my Platinum Member status as a result of this job... I will NOT be posting VB articles.

        .45 ACP - because shooting twice is just silly
        -----
        "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
        -----
        "The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001

        modified on Tuesday, November 24, 2009 7:31 AM

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

        John Simmons / outlaw programmer wrote:

        I hope I don't lose my Platinum Member status as a result of this job...

        Some of us in the Platinum members' lounge were discussing this, John. Will let you know what we decide on this :rolleyes:

        Regards, Nish


        Nish’s thoughts on MFC, C++/CLI and .NET (my blog)
        My latest book : C++/CLI in Action / Amazon.com link

        C 1 Reply Last reply
        0
        • R realJSOP

          It's even worse - I took a 10k/year pay cut. Some of you may remember my earlier claim that people think VB programmers are cheaper because VB is "easier"... They're cheaper because people with even a spark of ego and self respect consider a VB job as something to pay their tuition at the McDonald's School of Burger Flipping.

          .45 ACP - because shooting twice is just silly
          -----
          "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
          -----
          "The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001

          Z Offline
          Z Offline
          Zhat
          wrote on last edited by
          #21

          Really? Not sure where you're working but I've been doing this VB.NET job, in North Florida for 3 years now...Started well above $100K salary, with 401K AND FULL Retirement package...and it's only been getting better from there. No overtime, no "immediate" deadlines (I set them for the team and adjust as needed), top floor, corner office. Call me stupid, or dim or whatever...just call me well paid. I know I'm gloating, but whenever I see VB bashers complain they HAVE to do VB.NET, well I just have to smile. Good luck with that new job. Hope you find respect soon. :)

          1 Reply Last reply
          0
          • C Corinna John

            Where's amnesty international? Forcing people to do VB is an abuse of economic power and obviously against human rights.

            John Simmons / outlaw programmer wrote:

            1. "Dim" - what you must be if you actually *like* VB

            Once upon a long, long time there were many little BASIC languages. They wanted to make programming as easy as talking, so they used fragments of english words as commands. The fragments were hardly readable and didn't really remind of the words they were taken from, but anyway the code looked a little bit like bad English ... instead of good code.

            John Simmons / outlaw programmer wrote:

            1. Specifying the type AFTER the variable name

            Come on, that's just like Pascal. ;) You're not alone!

            John Simmons / outlaw programmer wrote:

            1. Pointless sytax - "as", "of", "is", "isnot"

            Don't forget to use Something where something is not Nothing.

            John Simmons / outlaw programmer wrote:

            1. Why is there a solid line at the end of a source file?

            Because in ancient times the hard drives were slower. When the page stopped scrolling, the computer needed a little time to read the next lines of code. The line means "Don't wait, there are no further lines".

            John Simmons / outlaw programmer wrote:

            I hope I don't lose my Platinum Member status as a result of this job...

            You will lose your sanity, your good mood, your sleep and health - but you'll always keep your status. :thumbsup: By the way, VB coders are cheap just as road sweepers and trash collectors are.

            This statement is false.

            modified on Tuesday, November 24, 2009 8:19 AM

            V Offline
            V Offline
            Vikram A Punathambekar
            wrote on last edited by
            #22

            Welcome back, Corinna, haven't seen you in a while. Who had the pleasure of your lovely company, and how are you doing? :)

            Cheers, Vikram. (Cracked not one CCC, but two!)

            C 1 Reply Last reply
            0
            • L Lost User

              John Simmons / outlaw programmer wrote:

              HELLO! IT'S 2009! Get a real job, loser, and learn C#.

              I seem to recall a lot of C++ folks dissing C# when it was new. I think they actually compared it to VB due to the warm and fuzzy front end and lack of pointers. Times have certainly changed...

              C Offline
              C Offline
              Christian Graus
              wrote on last edited by
              #23

              I still see people who think that C# is faster than VB. One guy in a forum actually explained it was because C# has less text in the same code, so the computer can read it faster....

              Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

              C 1 Reply Last reply
              0
              • N Nagy Vilmos

                In VB6, arrays were 0 based. In fact you need to got back to vb3 [AFAIR] for the 1 based arrays by default. VB6 collections where 1 absed, but that's another story.


                Panic, Chaos, Destruction. My work here is done.

                D Offline
                D Offline
                Dan Neely
                wrote on last edited by
                #24

                If you go back even farther (Turbo?) Pascal would let you define an array with an arbitrary range. If you wanted legal indexes to be -3 to +21 you could define it that way and it'd do the offset math for you. :cool: OTOH my teacher never explained that we should start at 0 to avoid bad habits because all normal languages did so and that it would result in faster code. :doh:

                3x12=36 2x12=24 1x12=12 0x12=18

                N 1 Reply Last reply
                0
                • D Dan Neely

                  If you go back even farther (Turbo?) Pascal would let you define an array with an arbitrary range. If you wanted legal indexes to be -3 to +21 you could define it that way and it'd do the offset math for you. :cool: OTOH my teacher never explained that we should start at 0 to avoid bad habits because all normal languages did so and that it would result in faster code. :doh:

                  3x12=36 2x12=24 1x12=12 0x12=18

                  N Offline
                  N Offline
                  Nagy Vilmos
                  wrote on last edited by
                  #25

                  [bond voice=Q] Pay attention Neely! [bond=off] I said default!, this is valid:

                  Dim StringArray(-7 To 42) As String


                  Panic, Chaos, Destruction. My work here is done.

                  1 Reply Last reply
                  0
                  • V Vikram A Punathambekar

                    Welcome back, Corinna, haven't seen you in a while. Who had the pleasure of your lovely company, and how are you doing? :)

                    Cheers, Vikram. (Cracked not one CCC, but two!)

                    C Offline
                    C Offline
                    Corinna John
                    wrote on last edited by
                    #26

                    Back? I've been reading here many times, especially the JOTDs. I just didn't know smart things to post here. You know, I don't babble when there's nothing to say - I simply shut up. :rolleyes:

                    This statement is false.

                    N 1 Reply Last reply
                    0
                    • C Christian Graus

                      I still see people who think that C# is faster than VB. One guy in a forum actually explained it was because C# has less text in the same code, so the computer can read it faster....

                      Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

                      C Offline
                      C Offline
                      Corinna John
                      wrote on last edited by
                      #27

                      Oh yes, and comments slow down the program, because the computer has jump around them...

                      This statement is false.

                      C 1 Reply Last reply
                      0
                      • C Corinna John

                        Back? I've been reading here many times, especially the JOTDs. I just didn't know smart things to post here. You know, I don't babble when there's nothing to say - I simply shut up. :rolleyes:

                        This statement is false.

                        N Offline
                        N Offline
                        Nagy Vilmos
                        wrote on last edited by
                        #28

                        Babbling is much more fun.


                        Panic, Chaos, Destruction. My work here is done.

                        1 Reply Last reply
                        0
                        • N Nish Nishant

                          John Simmons / outlaw programmer wrote:

                          I hope I don't lose my Platinum Member status as a result of this job...

                          Some of us in the Platinum members' lounge were discussing this, John. Will let you know what we decide on this :rolleyes:

                          Regards, Nish


                          Nish’s thoughts on MFC, C++/CLI and .NET (my blog)
                          My latest book : C++/CLI in Action / Amazon.com link

                          C Offline
                          C Offline
                          Corinna John
                          wrote on last edited by
                          #29

                          Don't worry! I'm sure the more VB he has to do at work the more C# he'll need at home.

                          This statement is false.

                          M 1 Reply Last reply
                          0
                          • C Corinna John

                            Oh yes, and comments slow down the program, because the computer has jump around them...

                            This statement is false.

                            C Offline
                            C Offline
                            Christian Graus
                            wrote on last edited by
                            #30

                            No, it has to READ them, so it knows what's about to happen.....

                            Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

                            P L 2 Replies Last reply
                            0
                            • L Lost User

                              Yep. Agreed. I've worked with VB6. It's true that it encourages bad pratices. But, if you consider youselves to be a good/great programmer, you are bound to avoid them (like the use of variants X|). IF used properly, VB.NET code will generate the same MSIL that its C# counterpart will generate. In short, this is a never ending discussion. If you consider youself a programmer, you should not be bound to one single language. EDIT: I too am a C# guy, but I have learned early on NOT to hate any technology (I know, some of you'll say VB is not technology), however old school it is; and that helps, a lot :-D EDIT2: I see a lot of VB haters over here, so I'll stop now, before my existence gets endangered.

                              Currently Reading: Eclipse by Stephenie Meyer Next in Queue: Breaking Dawn by Stephenie Meyer - Kirtan

                              modified on Tuesday, November 24, 2009 8:12 AM

                              R Offline
                              R Offline
                              ragnaroknrol
                              wrote on last edited by
                              #31

                              I've noted that if you present a good argument, with logic and passion combined, you won't get many downvotes. Even if you like VB. While most of the people like X language and enjoy bashing Y language, they won't be jerks about it to the people that like Y language. I'm a newb programmer with mostly the 3 flavors of C under my belt and some VB once upon a time. Playing with VB gave me headaches. But I am not going to tell the people they suck because they got it. Well, okay I might.

                              L 1 Reply Last reply
                              0
                              • R realJSOP

                                I am about to start my first day at a new job doing VB.Net (I think I just threw up a little in my mouth, and I didn't even say it out loud). How do you guys work with this without going absolutely insane? 0) "Dim" - what you must be if you actually *like* VB 1) Specifying the type AFTER the variable name - the order of the universe should not be changed 2) Pointless sytax - "as", "of", "is", "isnot", "then", "end" - why did they omit the really useful ones, like "whetherornot", "notquite", "absenceoflogic", and "barf"? 3) If there's a "Dim", why isn't there a "bright" and "off"? 4) Why is there a solid line at the end of a source file? When it stops scrolling, I must be at the end of the file - I don't need a line to show that I am. 5) Explicit, strict and infer - three different ways to make your code as reliable as soggy bread. 6) Why? Just WHY? I question my ability to survive in this kind of environment. I asked my wife to hid all of my pistols so I don't feel compelled to shoot myself... The IDE just shut down with this message: Visual Studio is busy. We're trying to figure out where we went wrong. Seriously, we didn't think this Visual Basic thing would last more than a couple of months, yet here you are trying to make sense of something that makes none. HELLO! IT'S 2009! Get a real job, loser, and learn C#. I hope I don't lose my Platinum Member status as a result of this job... I will NOT be posting VB articles.

                                .45 ACP - because shooting twice is just silly
                                -----
                                "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
                                -----
                                "The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001

                                modified on Tuesday, November 24, 2009 7:31 AM

                                R Offline
                                R Offline
                                Rob Smiley
                                wrote on last edited by
                                #32

                                Am I the only one whose going to stick up for this language? I mean, it's only a syntax at the end of the day. True, C# is more satisfying to work with, but there's not that much more in it that you can't do in VB. John, I think you'll get used to the syntax pretty quickly & soon wonder what all the fuss was about... Just spare a thought for all the poor sods out there who are stuck with VB6 X|

                                "An eye for an eye only ends up making the whole world blind"

                                L N P C 4 Replies Last reply
                                0
                                • N Nagy Vilmos

                                  In VB6, arrays were 0 based. In fact you need to got back to vb3 [AFAIR] for the 1 based arrays by default. VB6 collections where 1 absed, but that's another story.


                                  Panic, Chaos, Destruction. My work here is done.

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

                                  My mistake... I recall that array[5] had 6 elements (index 0 to 5) in VB6, but maybe not, it was a long time ago

                                  1 Reply Last reply
                                  0
                                  • R ragnaroknrol

                                    I've noted that if you present a good argument, with logic and passion combined, you won't get many downvotes. Even if you like VB. While most of the people like X language and enjoy bashing Y language, they won't be jerks about it to the people that like Y language. I'm a newb programmer with mostly the 3 flavors of C under my belt and some VB once upon a time. Playing with VB gave me headaches. But I am not going to tell the people they suck because they got it. Well, okay I might.

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

                                    Thanks for the votes. I was just expressing my views, plainly. Its just that I didn't expect experienced programmers like John or Christian expressing their views about a langauge like this :rolleyes:

                                    Currently Reading: Eclipse by Stephenie Meyer Next in Queue: Breaking Dawn by Stephenie Meyer - Kirtan

                                    R 1 Reply Last reply
                                    0
                                    • R Rob Smiley

                                      Am I the only one whose going to stick up for this language? I mean, it's only a syntax at the end of the day. True, C# is more satisfying to work with, but there's not that much more in it that you can't do in VB. John, I think you'll get used to the syntax pretty quickly & soon wonder what all the fuss was about... Just spare a thought for all the poor sods out there who are stuck with VB6 X|

                                      "An eye for an eye only ends up making the whole world blind"

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

                                      I am there.[^]

                                      Currently Reading: Eclipse by Stephenie Meyer Next in Queue: Breaking Dawn by Stephenie Meyer - Kirtan

                                      1 Reply Last reply
                                      0
                                      • R Rob Smiley

                                        Am I the only one whose going to stick up for this language? I mean, it's only a syntax at the end of the day. True, C# is more satisfying to work with, but there's not that much more in it that you can't do in VB. John, I think you'll get used to the syntax pretty quickly & soon wonder what all the fuss was about... Just spare a thought for all the poor sods out there who are stuck with VB6 X|

                                        "An eye for an eye only ends up making the whole world blind"

                                        N Offline
                                        N Offline
                                        Nagy Vilmos
                                        wrote on last edited by
                                        #36

                                        I don't dislike VB, I dislike some of the dolts using it; but not the language.


                                        Panic, Chaos, Destruction. My work here is done.

                                        1 Reply Last reply
                                        0
                                        • C Christian Graus

                                          No, it has to READ them, so it knows what's about to happen.....

                                          Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

                                          P Offline
                                          P Offline
                                          Pete OHanlon
                                          wrote on last edited by
                                          #37

                                          So, the people who write these comments are obviously better at writing comments than my team.

                                          "WPF has many lovers. It's a veritable porn star!" - Josh Smith

                                          As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.

                                          My blog | My articles | MoXAML PowerToys | Onyx

                                          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