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. The problem with VB?

The problem with VB?

Scheduled Pinned Locked Moved The Lounge
csharpdesignhelpquestion
49 Posts 24 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.
  • J jchigg2000

    Enough already! :) I really am getting frustrated with a lot of people that talk crap on VB when they couldn't give you one reason why it's bad. Personally, I use both C# and VB at work and can design and implement the exact same application using either. You can even use Ildasm to verify that you've created the same application. I understand that there are things you can do in VB that completely violate a number of OO concepts, but if you don't use these methods, what's the harm in hacking a out a few lines of VB?

    P Offline
    P Offline
    peterchen
    wrote on last edited by
    #15

    The problem with VB is that it looks like an easy language on the surface, when in fact it is absolutely not. Granted, that's VB - I've never done VB.NET. And I will avoid VB.NET for the same reason I don't consider a swastika a suitable logo for my business card. [edit] Uh, oh, he said "Swastika" [/edit]

    We are a big screwed up dysfunctional psychotic happy family - some more screwed up, others more happy, but everybody's psychotic joint venture definition of CP
    blog: TDD - the Aha! | Linkify!| FoldWithUs! | sighist

    modified on Tuesday, May 27, 2008 5:08 PM

    B V 2 Replies Last reply
    0
    • J jchigg2000

      Enough already! :) I really am getting frustrated with a lot of people that talk crap on VB when they couldn't give you one reason why it's bad. Personally, I use both C# and VB at work and can design and implement the exact same application using either. You can even use Ildasm to verify that you've created the same application. I understand that there are things you can do in VB that completely violate a number of OO concepts, but if you don't use these methods, what's the harm in hacking a out a few lines of VB?

      C Offline
      C Offline
      Christopher Duncan
      wrote on last edited by
      #16

      Didn't we just do this yesterday?

      Christopher Duncan Author of The Career Programmer and Unite the Tribes www.PracticalUSA.com

      1 Reply Last reply
      0
      • J jchigg2000

        Enough already! :) I really am getting frustrated with a lot of people that talk crap on VB when they couldn't give you one reason why it's bad. Personally, I use both C# and VB at work and can design and implement the exact same application using either. You can even use Ildasm to verify that you've created the same application. I understand that there are things you can do in VB that completely violate a number of OO concepts, but if you don't use these methods, what's the harm in hacking a out a few lines of VB?

        M Offline
        M Offline
        Marc Arbesman
        wrote on last edited by
        #17

        VB is the Rodney Dangerfield of languages...gets no respect. Nothing wrong with VB.NET...VB6 on the other hand.... the other Marc with a C

        1 Reply Last reply
        0
        • J jchigg2000

          Enough already! :) I really am getting frustrated with a lot of people that talk crap on VB when they couldn't give you one reason why it's bad. Personally, I use both C# and VB at work and can design and implement the exact same application using either. You can even use Ildasm to verify that you've created the same application. I understand that there are things you can do in VB that completely violate a number of OO concepts, but if you don't use these methods, what's the harm in hacking a out a few lines of VB?

          P Offline
          P Offline
          Pedro_FP_Simoes
          wrote on last edited by
          #18

          The problem with VB.NET is the legacy from VB6, take out the legacy garbage like "On Error GoTo"(obvious), "Module"(it has encapsulation but everything public is at the same scope), and this language could be better than many others. I programmed in LISP, SCHEME, and PROLOG and that wasn't funny :(

          B 1 Reply Last reply
          0
          • J jchigg2000

            I really expected more of a response to this! My guess is that all of the 'accused' are out googling so they can paste me a long list of someone else's thoughts ;)

            S Offline
            S Offline
            Shog9 0
            wrote on last edited by
            #19

            jchigg2000 wrote:

            My guess is that all of the 'accused' are out googling so they can paste me a long list of someone else's thoughts

            Who are you accusing? Those of us who hate and use VB have posted our reasons for displeasure many times in the past. Are you really so immune to the truth that you've ignored all of it and still persist in thinking that bastard of a language has anything to redeem it apart from the steaming piles of horrible legacy code?

            Citizen 20.1.01

            'The question is,' said Humpty Dumpty, 'which is to be master - that's all.'

            B 1 Reply Last reply
            0
            • R realJSOP

              Any language that not only features - but ENCOURAGES - the use of the goto statement should be stricken from the planet.

              "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." - Jason Jystad, 10/26/2001

              D Offline
              D Offline
              DaveX86
              wrote on last edited by
              #20

              I disagree...goto is what allowed man to rise up the food chain over all the other animals...just like the opposable thumb :)

              R 1 Reply Last reply
              0
              • R realJSOP

                Any language that not only features - but ENCOURAGES - the use of the goto statement should be stricken from the planet.

                "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." - Jason Jystad, 10/26/2001

                M Offline
                M Offline
                MikeMarq
                wrote on last edited by
                #21

                John Simmons / outlaw programmer wrote:

                Any language that not only features - but ENCOURAGES - the use of the goto statement should be stricken from the planet.

                What are you basing that statement on? Are you basing your statement on vb or on the original basic language which is only vaguely related? It has a goto statement like most languages but it certainly doesn't encourage it.

                R R 2 Replies Last reply
                0
                • R realJSOP

                  Any language that not only features - but ENCOURAGES - the use of the goto statement should be stricken from the planet.

                  "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." - Jason Jystad, 10/26/2001

                  G Offline
                  G Offline
                  Grimolfr
                  wrote on last edited by
                  #22

                  You do realize that C# "features" (supports) the goto statement, right?

                  Grim MCDBA, MCSD, MCP+SB SELECT * FROM users WHERE clue IS NOT NULL (0 row(s) affected)

                  R 1 Reply Last reply
                  0
                  • M MikeMarq

                    John Simmons / outlaw programmer wrote:

                    Any language that not only features - but ENCOURAGES - the use of the goto statement should be stricken from the planet.

                    What are you basing that statement on? Are you basing your statement on vb or on the original basic language which is only vaguely related? It has a goto statement like most languages but it certainly doesn't encourage it.

                    R Offline
                    R Offline
                    realJSOP
                    wrote on last edited by
                    #23

                    MikeMarq wrote:

                    Are you basing your statement on vb or on the original basic language which is only vaguely related?

                    We're talking about VB, so it really doesn't matter.

                    "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." - Jason Jystad, 10/26/2001

                    J 1 Reply Last reply
                    0
                    • G Grimolfr

                      You do realize that C# "features" (supports) the goto statement, right?

                      Grim MCDBA, MCSD, MCP+SB SELECT * FROM users WHERE clue IS NOT NULL (0 row(s) affected)

                      R Offline
                      R Offline
                      realJSOP
                      wrote on last edited by
                      #24

                      Actually, I didn't know that. Of course, I didn't go looking for the goto statement either. I guess real programmers have a completely different mindset than VB "programmers".

                      "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." - Jason Jystad, 10/26/2001

                      G 1 Reply Last reply
                      0
                      • D DaveX86

                        I disagree...goto is what allowed man to rise up the food chain over all the other animals...just like the opposable thumb :)

                        R Offline
                        R Offline
                        realJSOP
                        wrote on last edited by
                        #25

                        Hmmmm, the opposable goto...

                        "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." - Jason Jystad, 10/26/2001

                        1 Reply Last reply
                        0
                        • R realJSOP

                          Any language that not only features - but ENCOURAGES - the use of the goto statement should be stricken from the planet.

                          "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." - Jason Jystad, 10/26/2001

                          R Offline
                          R Offline
                          Ray Cassick
                          wrote on last edited by
                          #26

                          Um, the new stuff don't.... Gone is the need for On Error Goto my friend.


                          FFRF[^]


                          1 Reply Last reply
                          0
                          • M MikeMarq

                            John Simmons / outlaw programmer wrote:

                            Any language that not only features - but ENCOURAGES - the use of the goto statement should be stricken from the planet.

                            What are you basing that statement on? Are you basing your statement on vb or on the original basic language which is only vaguely related? It has a goto statement like most languages but it certainly doesn't encourage it.

                            R Offline
                            R Offline
                            Ray Cassick
                            wrote on last edited by
                            #27

                            Right, the last time I looked even C++ still had goto.


                            FFRF[^]


                            1 Reply Last reply
                            0
                            • R realJSOP

                              Actually, I didn't know that. Of course, I didn't go looking for the goto statement either. I guess real programmers have a completely different mindset than VB "programmers".

                              "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." - Jason Jystad, 10/26/2001

                              G Offline
                              G Offline
                              Grimolfr
                              wrote on last edited by
                              #28

                              I didn't know it eiher, until I had a contractor submit some C# code that used the goto statement. We sent him back to his agency the next day.

                              Grim MCDBA, MCSD, MCP+SB SELECT * FROM users WHERE clue IS NOT NULL (0 row(s) affected)

                              1 Reply Last reply
                              0
                              • M Marc Clifton

                                jchigg2000 wrote:

                                I really expected more of a response to this!

                                Heh. Well, I was thinking of linking to some good sites that illustrate some of VB's particular problems, but then I figured, that's getting boring. :) Marc

                                Thyme In The Country Interacx My Blog

                                B Offline
                                B Offline
                                Brady Kelly
                                wrote on last edited by
                                #29

                                How about pointing out the idiotic idiosyncratic handling[^] of the ++ operator in C#, just to 'even' the scales. That and C# hiding filtered catch blocks from us. ;P

                                Semicolons: The number one seller of ostomy bags world wide. - dan neely

                                1 Reply Last reply
                                0
                                • S Shog9 0

                                  jchigg2000 wrote:

                                  My guess is that all of the 'accused' are out googling so they can paste me a long list of someone else's thoughts

                                  Who are you accusing? Those of us who hate and use VB have posted our reasons for displeasure many times in the past. Are you really so immune to the truth that you've ignored all of it and still persist in thinking that bastard of a language has anything to redeem it apart from the steaming piles of horrible legacy code?

                                  Citizen 20.1.01

                                  'The question is,' said Humpty Dumpty, 'which is to be master - that's all.'

                                  B Offline
                                  B Offline
                                  Brady Kelly
                                  wrote on last edited by
                                  #30

                                  Shog9 wrote:

                                  and use VB

                                  They are among us? :~

                                  Semicolons: The number one seller of ostomy bags world wide. - dan neely

                                  M 1 Reply Last reply
                                  0
                                  • R realJSOP

                                    Any language that not only features - but ENCOURAGES - the use of the goto statement should be stricken from the planet.

                                    "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." - Jason Jystad, 10/26/2001

                                    B Offline
                                    B Offline
                                    Brady Kelly
                                    wrote on last edited by
                                    #31

                                    It only encourages it for error handling, so instead of having to use a 'goto' to handle errorsm they could just say, e.g. "ErrorProc = MyErrorHandlingProc". Note the My prefix. X| :laugh:

                                    Semicolons: The number one seller of ostomy bags world wide. - dan neely

                                    1 Reply Last reply
                                    0
                                    • L Lost User

                                      I found a seriously weird problem with VB once when using it to write a DB app that sat on a Jet engine. I had a controll called something like 'ListOfNames', the column in the Jet table was called the same thing, and for testing purposes I had a data row in the table. In this collum was a string, called, 'ListOfNames'. I could not get it to work untill I changed the datas to a different name. Now any machine thats building code by doing string comparison is, to me, in serious trouble. I quickly finished the app and have never gone near VB again. (It was historical, and had been started in VB and I had to maintain/finish it off. I had never used VB before but found it very easy).

                                      Morality is indistinguishable from social proscription

                                      B Offline
                                      B Offline
                                      Brady Kelly
                                      wrote on last edited by
                                      #32

                                      I luckily never encountered that in the VB6 apps I wrote. I didn't write many, one big one, and many, many little ones. It is quite scary! :~

                                      Semicolons: The number one seller of ostomy bags world wide. - dan neely

                                      1 Reply Last reply
                                      0
                                      • P peterchen

                                        The problem with VB is that it looks like an easy language on the surface, when in fact it is absolutely not. Granted, that's VB - I've never done VB.NET. And I will avoid VB.NET for the same reason I don't consider a swastika a suitable logo for my business card. [edit] Uh, oh, he said "Swastika" [/edit]

                                        We are a big screwed up dysfunctional psychotic happy family - some more screwed up, others more happy, but everybody's psychotic joint venture definition of CP
                                        blog: TDD - the Aha! | Linkify!| FoldWithUs! | sighist

                                        modified on Tuesday, May 27, 2008 5:08 PM

                                        B Offline
                                        B Offline
                                        Brady Kelly
                                        wrote on last edited by
                                        #33

                                        peterchen wrote:

                                        The problem with VB is that it looks like an easy language on the surface, when in fact it is absolutely not.

                                        It is so! :confused:

                                        Semicolons: The number one seller of ostomy bags world wide. - dan neely

                                        P 1 Reply Last reply
                                        0
                                        • P Pedro_FP_Simoes

                                          The problem with VB.NET is the legacy from VB6, take out the legacy garbage like "On Error GoTo"(obvious), "Module"(it has encapsulation but everything public is at the same scope), and this language could be better than many others. I programmed in LISP, SCHEME, and PROLOG and that wasn't funny :(

                                          B Offline
                                          B Offline
                                          Brady Kelly
                                          wrote on last edited by
                                          #34

                                          Where's leppie? :laugh:

                                          Semicolons: The number one seller of ostomy bags world wide. - dan neely

                                          P 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