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.
  • realJSOPR 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
    Rama Krishna Vavilala
    wrote on last edited by
    #47

    One wise man[^] once said:- "Do not program in your language, program into your language." If you remember this mantra, you will never care about petty things.

    Click here to get a Google Wave Invite.

    1 Reply Last reply
    0
    • C Corinna John

      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 Offline
      M Offline
      Michael Schubert
      wrote on last edited by
      #48

      Corinna John wrote:

      the more C# he'll need at home

      I think he will need something much stronger like Assembler or typing in code in hex directly.

      1 Reply Last reply
      0
      • realJSOPR 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
        Nemanja Trifunovic
        wrote on last edited by
        #49

        Oh come on, John. The moment you switched from C++ you started using VB, only with some extra curly braces and semicolons to make you feel better :) There is nothing wrong with VB - a good tool for the job. As for the syntax, I actually like it better than C# - far less redundant braces and semicolons. Besides, it has real functions. Give it a chance, you may even get to like it.

        utf8-cpp

        1 Reply Last reply
        0
        • realJSOPR 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
          #50

          Dude, it's a job. Quit bitching. :rolleyes:

          1 Reply Last reply
          0
          • realJSOPR 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

            K Offline
            K Offline
            Kevin McFarlane
            wrote on last edited by
            #51

            So, more VB bashing...

            John Simmons / outlaw programmer wrote:

            Specifying the type AFTER the variable name

            Actually, it's the C-family languages that are arse about face with this, but we've just gotten used to it.

            John Simmons / outlaw programmer wrote:

            I question my ability to survive in this kind of environment

            It's not too bad. The VS editor behaviour is more of an annoyance to me than the language. You will most likely have noticed this.

            Kevin

            1 Reply Last reply
            0
            • D Dave Kreskowiak

              Save yourself some pain and start every project by making sure Option Strict and Option Explicit are both turned on. That'll take away just about all of VB.NET's perpensity to do implicit conversions for you. After that, it works just like C#, just written in a funky way. Look at it this way, it's not as bad a COBOL...

              A guide to posting questions on CodeProject[^]
              Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
                   2006, 2007, 2008
              But no longer in 2009...

              K Offline
              K Offline
              Kevin McFarlane
              wrote on last edited by
              #52

              Dave Kreskowiak wrote:

              Save yourself some pain and start every project by making sure Option Strict and Option Explicit are both turned on

              The defaults are a pain in the neck. Although I do the above the problem arises when you're having to maintain code and the original project started out with the defaults... There are some oter subtleties when switching from C# to VB. I've been surprised more than once! The IDE editor support is dreadful compared to C#. :mad:

              Kevin

              D 1 Reply Last reply
              0
              • realJSOPR 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

                M Offline
                M Offline
                Member 96
                wrote on last edited by
                #53

                Ahhh..screw it, I was enjoying you dangling there, but you do realize you can write all your code in c# and use one of those converter things to make it vb.net right? :)


                "Creating your own blog is about as easy as creating your own urine, and you're about as likely to find someone else interested in it." -- Lore Sjöberg

                1 Reply Last reply
                0
                • realJSOPR 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

                  R Offline
                  R Offline
                  rollei35guy
                  wrote on last edited by
                  #54

                  I have been there and done that so I feel your pain. The important point is that you ARE getting paid. In this day and age that is a good thing. Consider it an exercise in character development. A few years ago I had to take an 'office' job after 20+ years of freelancing. I'm back on my own now and have more character than I can stand.

                  1 Reply Last reply
                  0
                  • K Kevin McFarlane

                    Dave Kreskowiak wrote:

                    Save yourself some pain and start every project by making sure Option Strict and Option Explicit are both turned on

                    The defaults are a pain in the neck. Although I do the above the problem arises when you're having to maintain code and the original project started out with the defaults... There are some oter subtleties when switching from C# to VB. I've been surprised more than once! The IDE editor support is dreadful compared to C#. :mad:

                    Kevin

                    D Offline
                    D Offline
                    Dave Kreskowiak
                    wrote on last edited by
                    #55

                    Kevin McFarlane wrote:

                    The defaults are a pain in the neck. Although I do the above the problem arises when you're having to maintain code and the original project started out with the defaults... There are some oter subtleties when switching from C# to VB. I've been surprised more than once!

                    Yeah I know what you mean. But, it's a paycheck...

                    Kevin McFarlane wrote:

                    The IDE editor support is dreadful compared to C#.

                    Have you used C++/CLI yet?? The VB.NET IDE is far and away superior to the support for C++. Intellisense is almost non-existant!

                    A guide to posting questions on CodeProject[^]
                    Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
                         2006, 2007, 2008
                    But no longer in 2009...

                    K 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...

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

                      Did you by any chance reply last night to my Lounge post on Twitter? I got an email notification purportedly from you that said Ummmm.... I don't have audio at work but the video alone is "suspicious". How is the guy communicating to the "carer"? How are they sure she's not the one typing while he sits 100% idle? but the forum link was broken. Just wondering if you made a mistake or there's a subtle bug in CP.

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

                      L 1 Reply Last reply
                      0
                      • D Dave Kreskowiak

                        Kevin McFarlane wrote:

                        The defaults are a pain in the neck. Although I do the above the problem arises when you're having to maintain code and the original project started out with the defaults... There are some oter subtleties when switching from C# to VB. I've been surprised more than once!

                        Yeah I know what you mean. But, it's a paycheck...

                        Kevin McFarlane wrote:

                        The IDE editor support is dreadful compared to C#.

                        Have you used C++/CLI yet?? The VB.NET IDE is far and away superior to the support for C++. Intellisense is almost non-existant!

                        A guide to posting questions on CodeProject[^]
                        Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
                             2006, 2007, 2008
                        But no longer in 2009...

                        K Offline
                        K Offline
                        Kevin McFarlane
                        wrote on last edited by
                        #57

                        Dave Kreskowiak wrote:

                        Yeah I know what you mean. But, it's a paycheck...

                        Yes, my last contract was using VB .NET and I've also done one lasting over a year.

                        Dave Kreskowiak wrote:

                        Have you used C++/CLI yet??

                        No.

                        Dave Kreskowiak wrote:

                        Intellisense is almost non-existant!

                        I gather it's worse or possibly literally non-existent in VS 2010? It looks like Visual Assist is a must for C++ devs. Re: VB, my gripes are with the way features such as regions and code snippets work compared to C#. There are a few other niggles as well (I can't recall them right now) which you tend to notice if you've previously been doing C#. Re: the language I do prefer C# but, unlike many here, I can live with VB. I do think that all .NET developers should be reasonably comfortable with at least being able to read both languages irrespective of their likes.

                        Kevin

                        1 Reply Last reply
                        0
                        • V Vikram A Punathambekar

                          Did you by any chance reply last night to my Lounge post on Twitter? I got an email notification purportedly from you that said Ummmm.... I don't have audio at work but the video alone is "suspicious". How is the guy communicating to the "carer"? How are they sure she's not the one typing while he sits 100% idle? but the forum link was broken. Just wondering if you made a mistake or there's a subtle bug in CP.

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

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

                          Vikram A Punathambekar wrote:

                          Just wondering if you made a mistake

                          Yep, I was on a non-CP forum at the same time and responded to the wrong message. I realized it as I pressed the "Post Message" button, so I just deleted it. Sorry, for the confusion. :-O

                          V 1 Reply Last reply
                          0
                          • L Lost User

                            Vikram A Punathambekar wrote:

                            Just wondering if you made a mistake

                            Yep, I was on a non-CP forum at the same time and responded to the wrong message. I realized it as I pressed the "Post Message" button, so I just deleted it. Sorry, for the confusion. :-O

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

                            Ha ha, no worries. :)

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

                            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