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 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
        • 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"

          P Offline
          P Offline
          phannon86
          wrote on last edited by
          #38

          Rob Smiley wrote:

          you'll get used to the syntax pretty quickly & soon wonder what all the fuss was about...

          I've been doing Delphi (simillar with it's begin/end/etc. and definitions) for about a year now, having come from C#, and while I am used to it, it still feels completely backwards and irritating.

          He who makes a beast out of himself gets rid of the pain of being a man.

          1 Reply Last reply
          0
          • L Lost User

            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 Offline
            R Offline
            ragnaroknrol
            wrote on last edited by
            #39

            I'm not the one that gave you that vote. :-D You have another person that agrees with you. I see a lot of VB bashing but it usually is well founded or in jest because VB is like that kid that ate paste in grade school. You knew he would be the one to die in a horrible accident like being run over by a garbage truck backing up but you still couldn't hold much animosity. You just were frustrated with what could have been something much greater. Side note: I know someone that did, in fact, die this way and we all knew he would die in a comical yet utterly tragic accident.

            D 1 Reply Last reply
            0
            • R ragnaroknrol

              I'm not the one that gave you that vote. :-D You have another person that agrees with you. I see a lot of VB bashing but it usually is well founded or in jest because VB is like that kid that ate paste in grade school. You knew he would be the one to die in a horrible accident like being run over by a garbage truck backing up but you still couldn't hold much animosity. You just were frustrated with what could have been something much greater. Side note: I know someone that did, in fact, die this way and we all knew he would die in a comical yet utterly tragic accident.

              D Offline
              D Offline
              Dalek Dave
              wrote on last edited by
              #40

              ragnaroknrol wrote:

              I know someone that did, in fact, die this way and we all knew he would die in a comical yet utterly tragic accident.

              Details please?

              ------------------------------------ In science, 'fact' can only mean 'confirmed to such a degree that it would be perverse to withhold provisional assent.' I suppose that apples might start to rise tomorrow, but the possibility does not merit equal time in physics classrooms. Stephen J Gould

              R 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

                D Offline
                D Offline
                Daniel Grunwald
                wrote on last edited by
                #41

                John Simmons / outlaw programmer wrote:

                1. Specifying the type AFTER the variable name - the order of the universe should not be changed

                Having the type in front of the variable name is stupid. It leads to problems such as http://blogs.msdn.com/ericlippert/archive/2009/08/17/arrays-of-arrays.aspx[^]. It leads to even worse syntax in C (think function pointers). Moreover, it doesn't mix syntactically with lambdas - there's just no place in front where you could stick the return type. C++0x had to introduce the ability to specify the return type after the parameter list to solve this and other problems.

                auto function(int a) -> int;

                You can't beat the clarity of: VAR a : ARRAY[1..3] OF POINTER TO ARRAY[1..10, 1..10] OF INTEGER; Pascal/Delphi are somewhat less readable (but more concise) when it comes to pointers, but the general idea is the same: types should always be read left to right in a natural way. Of course, if you do this, you want the type to be on the right of variable name in a declaration, otherwise it just looks weird. I mean, say we had: [,][]int a; // huh?

                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

                  B Offline
                  B Offline
                  basementman
                  wrote on last edited by
                  #42

                  Well, when you cannot take it any longer, we are hiring C++/SQL/HTML skilled people in the Chicago area. Drop me a line right before your head explodes X|

                  onwards and upwards...

                  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

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

                    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 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"

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

                      I used to say this, until I took a VB project. I NEVER got used to the syntax, I ALWAYS thought it blows. Now, if I'd learned VB first, I guess I'd be used to it, and I may hate C# syntax. As I said above, I know VB and C# do the same thing, it's not like the VB6/C++ days. But, the syntax is just too cumbersome for me. I do like being able to define that a method handles an event in the method signature. That's all I ever liked about VB.NET.

                      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.

                      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.

                        L Offline
                        L Offline
                        l a u r e n
                        wrote on last edited by
                        #45

                        :laugh: :laugh:

                        "mostly watching the human race is like watching dogs watch tv ... they see the pictures move but the meaning escapes them"

                        1 Reply Last reply
                        0
                        • D Dalek Dave

                          ragnaroknrol wrote:

                          I know someone that did, in fact, die this way and we all knew he would die in a comical yet utterly tragic accident.

                          Details please?

                          ------------------------------------ In science, 'fact' can only mean 'confirmed to such a degree that it would be perverse to withhold provisional assent.' I suppose that apples might start to rise tomorrow, but the possibility does not merit equal time in physics classrooms. Stephen J Gould

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

                          This was one of those people that you knew the genetics had compensated for. Tall, very good looking, and the girls loved him. He was dumber than a box of rocks. I watched him do a hand stand at a party and fall. He was on the 3rd floor balcony and went head first 3 stories. Broke his neck. He was walking again a month later and fully recovered 2 months after that. This was after several football injuries that should have left him maimed and an incident involving a power socket and a fork that wouldn't let go. (all of these at the age of 16 or more) Tough as an ox that one. He was working as a garbage man and the policies indicated that he should always be in visual contact with his partner. He always ignored that and his partner had told him that if he dind't stop screwing around with that he might get hurt. The partner decided to stop wasting time trying to find him after a month of this and finally just went ahead and backed up to a spot. Heard a thunk and a brief scream as he was pinned to a dumpster up against a wall and well, eww. At the funeral there were some people that had to leave when they mentioned his death. It would have been horrible to the family to hear the sniggers. I was at the back of the church just to make sure I could get out before giggling. Yea, he was a nice guy, but come on, it's not like you can't hear or see a truck backing up at 3 MPH and move a yard to your left to avoid being crushed. I would have put him up for a Darwin award at the time but he had a 2 year old kid.

                          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

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