Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Why VB sucks.

Why VB sucks.

Scheduled Pinned Locked Moved The Lounge
csharpvisual-studioquestion
24 Posts 15 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 rastaVnuce

    I have to write a couple of VB examples for documentation purposes, and I just have to share it. I haven't seen code looking that ugly in my life. I know it's practically the same code I've written in C#, I know it does the same thing, but darn.... It's VERY UGLY. Even Visual Studio's VB editor is uglier than the C# one. What's with all the lines? Sorry VB guys... I just don't understand why anyone would use VB. Ok... rant over, going back to work.

    Where it seems there are only borderlines, Where others turn and sigh, You shall rise!

    realJSOPR Offline
    realJSOPR Offline
    realJSOP
    wrote on last edited by
    #4

    Because other people are willing to pay them to do it, under the mistaken assumption that the coding will be faster than C#, and that the programmers will be cheaper than those doing other languages.

    .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

    CPalliniC R 2 Replies Last reply
    0
    • realJSOPR realJSOP

      Because other people are willing to pay them to do it, under the mistaken assumption that the coding will be faster than C#, and that the programmers will be cheaper than those doing other languages.

      .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

      CPalliniC Offline
      CPalliniC Offline
      CPallini
      wrote on last edited by
      #5

      John Simmons / outlaw programmer wrote:

      under the mistaken assumption that the coding will be faster than C#, and that the programmers will be cheaper than those doing other languages.

      Probably the programmers are actually cheaper. :)

      If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
      This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
      [My articles]

      In testa che avete, signor di Ceprano?

      L 1 Reply Last reply
      0
      • R rastaVnuce

        I have to write a couple of VB examples for documentation purposes, and I just have to share it. I haven't seen code looking that ugly in my life. I know it's practically the same code I've written in C#, I know it does the same thing, but darn.... It's VERY UGLY. Even Visual Studio's VB editor is uglier than the C# one. What's with all the lines? Sorry VB guys... I just don't understand why anyone would use VB. Ok... rant over, going back to work.

        Where it seems there are only borderlines, Where others turn and sigh, You shall rise!

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

        My first GUI project, was in VB6 . I was happy after wondering many months how anyone could develop a button in c++ using arrays. In vb6 it was a drag drop. I did not know anything about c# or Java . I learnt GUI programming in vb. It looked like English language. I loved it

        R CPalliniC 2 Replies Last reply
        0
        • CPalliniC CPallini

          John Simmons / outlaw programmer wrote:

          under the mistaken assumption that the coding will be faster than C#, and that the programmers will be cheaper than those doing other languages.

          Probably the programmers are actually cheaper. :)

          If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
          This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
          [My articles]

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

          It is easy to code in C# than Vb. What I hate most are things like.... If Not Is Nothing Then End if

          P CPalliniC K 3 Replies Last reply
          0
          • L Lost User

            It is easy to code in C# than Vb. What I hate most are things like.... If Not Is Nothing Then End if

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

            It's not so much the keywords I hate, but The Damned Capitalisation Of Every Stupid Word!

            He who makes a beast out of himself gets rid of the pain of being a man. Current Weight: 104.5 KG 10/10/2009 Target Weight : 89 KG Weight lost : 0

            1 Reply Last reply
            0
            • L Lost User

              My first GUI project, was in VB6 . I was happy after wondering many months how anyone could develop a button in c++ using arrays. In vb6 it was a drag drop. I did not know anything about c# or Java . I learnt GUI programming in vb. It looked like English language. I loved it

              R Offline
              R Offline
              Rage
              wrote on last edited by
              #9

              onyang2 wrote:

              In vb6 it was a drag drop. I did not know anything about c# or Java .

              Well, that's precisely the problem about languages such as VB: people who do not understood what is under the hood, code things that are first simple but ultimately will require someone understanding what takes place in the background to be further developed. And that's when we come in the game, having to mess with the spaghetti code written first. And that's why we always rant about VB (besides the fact that the language is actually ugly). Same argument as usual: plug&play programming has its limits.

              Currently reading - the girl with

              1 Reply Last reply
              0
              • L Lost User

                It is easy to code in C# than Vb. What I hate most are things like.... If Not Is Nothing Then End if

                CPalliniC Offline
                CPalliniC Offline
                CPallini
                wrote on last edited by
                #10

                onyang2 wrote:

                t is easy to code in C# than Vb

                Yes, it is easier. When looking at the .NET world, despite the fact it claims to be language-neutral, I see a strong 'philosophical' bias towards C#, while VB language is a twist. Of course this is going on my arrogant... :)

                If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
                This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
                [My articles]

                In testa che avete, signor di Ceprano?

                1 Reply Last reply
                0
                • L Lost User

                  My first GUI project, was in VB6 . I was happy after wondering many months how anyone could develop a button in c++ using arrays. In vb6 it was a drag drop. I did not know anything about c# or Java . I learnt GUI programming in vb. It looked like English language. I loved it

                  CPalliniC Offline
                  CPalliniC Offline
                  CPallini
                  wrote on last edited by
                  #11

                  Well VB6 GUI development had clear advantages over, for instance, C++/MFC one. It had also a lot of quirks and limitations. Anyway the distinction between the two worlds was sharp and you could choose the right tool for the right job. Nowdays, roughly speaking, VB.NET is the ugly copy of the C# language. :)

                  If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
                  This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
                  [My articles]

                  In testa che avete, signor di Ceprano?

                  1 Reply Last reply
                  0
                  • realJSOPR realJSOP

                    Because other people are willing to pay them to do it, under the mistaken assumption that the coding will be faster than C#, and that the programmers will be cheaper than those doing other languages.

                    .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
                    Rob Graham
                    wrote on last edited by
                    #12

                    John Simmons / outlaw programmer wrote:

                    the programmers will be cheaper than those doing other languages.

                    5 dolla code you long time?

                    1 Reply Last reply
                    0
                    • R rastaVnuce

                      I have to write a couple of VB examples for documentation purposes, and I just have to share it. I haven't seen code looking that ugly in my life. I know it's practically the same code I've written in C#, I know it does the same thing, but darn.... It's VERY UGLY. Even Visual Studio's VB editor is uglier than the C# one. What's with all the lines? Sorry VB guys... I just don't understand why anyone would use VB. Ok... rant over, going back to work.

                      Where it seems there are only borderlines, Where others turn and sigh, You shall rise!

                      M Offline
                      M Offline
                      Mycroft Holmes
                      wrote on last edited by
                      #13

                      rastaVnuce wrote:

                      I just don't understand why anyone would use VB.

                      Because that is what some of us started with, it may be ugly but it is our kind of ugly. And the differences between C# and VB are just enough to make changing an uncomfortable proposition. Working with a case sensitive language before VS2008 was just irritating, VB at least made that easier. Having said that I nowget irritated when I now have to do some work on my old VB apps as C# is my current flavour.

                      Never underestimate the power of human stupidity RAH

                      1 Reply Last reply
                      0
                      • R rastaVnuce

                        I have to write a couple of VB examples for documentation purposes, and I just have to share it. I haven't seen code looking that ugly in my life. I know it's practically the same code I've written in C#, I know it does the same thing, but darn.... It's VERY UGLY. Even Visual Studio's VB editor is uglier than the C# one. What's with all the lines? Sorry VB guys... I just don't understand why anyone would use VB. Ok... rant over, going back to work.

                        Where it seems there are only borderlines, Where others turn and sigh, You shall rise!

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

                        Wow, lot's of VB haters here I see (from the replies to this post). Our company uses it. Why? Good question and one I can't answer as they've been using it before I got here 3 years ago. BUT, it works very well for what we do. Sure we could do the same in C#, but why re-write everything when there absolutely no reason to, as in "I don't understand why people would use " Personally, I'm fine with it as well, no problems, I can and do use C# for a few things, but hey, stay with the horse that brought you here, if you know what I mean...that and the fact they pay me 6 figures (that's $100,000+ US) to do VB development...and No, I don't live in a very expensive city like Chicago, LA, New York, Boston...just a mid size city in Florida. That's WHY I use it...currently a friend of mine wants me to come to work for his company, at a bigger salary, where Javascript/XML is the base languages...Hmmm, I don't understand whay anyone would use those... :)

                        S 1 Reply Last reply
                        0
                        • L Lost User

                          It is easy to code in C# than Vb. What I hate most are things like.... If Not Is Nothing Then End if

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

                          onyang2 wrote:

                          What I hate most are things like.... If Not Is Nothing Then End if

                          Actually, in VB 2008 you can now write If IsNot Nothing Then End If. ;P

                          Kevin

                          1 Reply Last reply
                          0
                          • R rastaVnuce

                            I have to write a couple of VB examples for documentation purposes, and I just have to share it. I haven't seen code looking that ugly in my life. I know it's practically the same code I've written in C#, I know it does the same thing, but darn.... It's VERY UGLY. Even Visual Studio's VB editor is uglier than the C# one. What's with all the lines? Sorry VB guys... I just don't understand why anyone would use VB. Ok... rant over, going back to work.

                            Where it seems there are only borderlines, Where others turn and sigh, You shall rise!

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

                            Hmmm, I thought we hadn't had a VB-bashing session for a while. :)

                            rastaVnuce wrote:

                            Even Visual Studio's VB editor is uglier than the C# one. What's with all the lines?

                            Personally, although I prefer C# I don't mind VB as such but I do hate its IDE editor integration, especially re: IntelliSense, code snippets and regions. Much of it just does not work properly IMO. I wonder if it's any better in VS 2010?

                            Kevin

                            1 Reply Last reply
                            0
                            • Z Zhat

                              Wow, lot's of VB haters here I see (from the replies to this post). Our company uses it. Why? Good question and one I can't answer as they've been using it before I got here 3 years ago. BUT, it works very well for what we do. Sure we could do the same in C#, but why re-write everything when there absolutely no reason to, as in "I don't understand why people would use " Personally, I'm fine with it as well, no problems, I can and do use C# for a few things, but hey, stay with the horse that brought you here, if you know what I mean...that and the fact they pay me 6 figures (that's $100,000+ US) to do VB development...and No, I don't live in a very expensive city like Chicago, LA, New York, Boston...just a mid size city in Florida. That's WHY I use it...currently a friend of mine wants me to come to work for his company, at a bigger salary, where Javascript/XML is the base languages...Hmmm, I don't understand whay anyone would use those... :)

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

                              Zhat wrote:

                              Hmmm, I don't understand whay anyone would use those...

                              'cause they're awesome... ;-)

                              Z 1 Reply Last reply
                              0
                              • R rastaVnuce

                                I have to write a couple of VB examples for documentation purposes, and I just have to share it. I haven't seen code looking that ugly in my life. I know it's practically the same code I've written in C#, I know it does the same thing, but darn.... It's VERY UGLY. Even Visual Studio's VB editor is uglier than the C# one. What's with all the lines? Sorry VB guys... I just don't understand why anyone would use VB. Ok... rant over, going back to work.

                                Where it seems there are only borderlines, Where others turn and sigh, You shall rise!

                                M Offline
                                M Offline
                                megaadam
                                wrote on last edited by
                                #18

                                rastaVnuce wrote:

                                What's with all the lines?

                                Ah Gotcha!! No programming questions in The Lounge. ;P

                                ........................ Life is too shor

                                R 1 Reply Last reply
                                0
                                • S Shog9 0

                                  Zhat wrote:

                                  Hmmm, I don't understand whay anyone would use those...

                                  'cause they're awesome... ;-)

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

                                  That's my point to the OP...what's trash to one is priceless to another...I never could get into the "I'm better then you because I code in Blah Blah Blah language"...at the end of the day I'm happy regardless...and I could definately get into JS/XML as well... :)

                                  S 1 Reply Last reply
                                  0
                                  • M megaadam

                                    rastaVnuce wrote:

                                    What's with all the lines?

                                    Ah Gotcha!! No programming questions in The Lounge. ;P

                                    ........................ Life is too shor

                                    R Offline
                                    R Offline
                                    rastaVnuce
                                    wrote on last edited by
                                    #20

                                    Wait... is VB programming? (Ok... release the hounds :laugh: )

                                    Where it seems there are only borderlines, Where others turn and sigh, You shall rise!

                                    X 1 Reply Last reply
                                    0
                                    • R rastaVnuce

                                      Wait... is VB programming? (Ok... release the hounds :laugh: )

                                      Where it seems there are only borderlines, Where others turn and sigh, You shall rise!

                                      X Offline
                                      X Offline
                                      Xiangyang Liu
                                      wrote on last edited by
                                      #21

                                      rastaVnuce wrote:

                                      Wait... is VB programming?

                                      If that's not a programming question I don't what is! :-D

                                      My .NET Business Application Framework My Home Page My Younger Son & His "PET"

                                      R 1 Reply Last reply
                                      0
                                      • Z Zhat

                                        That's my point to the OP...what's trash to one is priceless to another...I never could get into the "I'm better then you because I code in Blah Blah Blah language"...at the end of the day I'm happy regardless...and I could definately get into JS/XML as well... :)

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

                                        Zhat wrote:

                                        I never could get into the "I'm better then you because I code in Blah Blah Blah language"...at the end of the day I'm happy regardless...

                                        Sure! I haven't often seen it, but it's certainly possible that someone could write decent code in VB. Personally, i'm happy so long as i don't have to touch the stuff... ;-)

                                        1 Reply Last reply
                                        0
                                        • X Xiangyang Liu

                                          rastaVnuce wrote:

                                          Wait... is VB programming?

                                          If that's not a programming question I don't what is! :-D

                                          My .NET Business Application Framework My Home Page My Younger Son & His "PET"

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

                                          Busted! :-O

                                          Where it seems there are only borderlines, Where others turn and sigh, You shall rise!

                                          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