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 I Hate VB Today

Why I Hate VB Today

Scheduled Pinned Locked Moved The Lounge
csharpvisual-studio
62 Posts 37 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 Rama Krishna Vavilala

    I am curious to know: Is your boss/manager a programmer? Does he code? I think I can guess the answer.

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

    Rama Krishna Vavilala wrote:

    I am curious to know: Is your boss/manager a programmer? Does he code? I think I can guess the answer.

    I was gonna tell you to go ahead and guess, but I wasn't willing to wait for the exchange... He actually does code... VB and SQL.

    .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 1 Reply Last reply
    0
    • I Ian Shlasko

      Yep, VB3 was great (I never used VB1 or 2)... Before then, I had stuck to console programming because... Let's face it... I was lazy. Then VB4 came along, and that was great... Then VB5 came along, finally adding OOP (Kinda... Well, almost... Eh) Then VB6 came along, and I started to wonder. Then VB.NET came along, and I cheered. Then I looked over at C#, and thought, "Why am I still writing VB code?"

      Proud to have finally moved to the A-Ark. Which one are you in?
      Author of the Guardians Saga (Sci-Fi/Fantasy novels)

      R Offline
      R Offline
      RugbyLeague
      wrote on last edited by
      #15

      I still fondly remember laying out screens in COBOL - it was easy, it worked, the business made a lot of money.

      1 Reply Last reply
      0
      • M Mark_Wallace

        Go steady. VB was the first tool I used that let me drag and drop buttons, etc. onto a form -- without slogging for huge lengths of time writing either the form or the objects to drop on it. That's a fond memory -- especially now that the GUIs here are done with (%#@&ing) swing.

        I wanna be a eunuchs developer! Pass me a bread knife!

        L Offline
        L Offline
        Luc Pattyn
        wrote on last edited by
        #16

        Yep, the Visual half is way better than the Basic half. Always has been, always will. :)

        Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles] Nil Volentibus Arduum

        Please use <PRE> tags for code snippets, and update CP Vanity to V2.0 if you haven't already.

        1 Reply Last reply
        0
        • M Mark_Wallace

          My God, it's like watching a romantic comedy!

          You know they'll end up together, in the end.

          J Offline
          J Offline
          Jim Crafton
          wrote on last edited by
          #17

          Yeah the tension between the two is killing me - when is John finally going to show VB what a man he is? Will VB cry? Will they hold hands? And finally, the most important question: does VB have a sister?

          ¡El diablo está en mis pantalones! ¡Mire, mire! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF! Personal 3D projects Just Say No to Web 2 Point Blow

          H M 2 Replies Last reply
          0
          • R realJSOP

            Rama Krishna Vavilala wrote:

            I am curious to know: Is your boss/manager a programmer? Does he code? I think I can guess the answer.

            I was gonna tell you to go ahead and guess, but I wasn't willing to wait for the exchange... He actually does code... VB and SQL.

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

            John Simmons / outlaw programmer wrote:

            He actually does code... VB and SQL

            No wonder!

            1 Reply Last reply
            0
            • R realJSOP
              1. The intellisense refuses to "let go" unless I tap the Escape key 1) Syntax highlighting sucks. In C#, all types are highlighted - in VB, only intrinisc types are highlighted. 2) It's VB. 3) There are no automatic code formatting options like we get with C#

              .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

              N Offline
              N Offline
              NormDroid
              wrote on last edited by
              #19

              Label Why_I_Hate_VB_Today goto Label

              Software Kinetics - Moving Software

              1 Reply Last reply
              0
              • J Jim Crafton

                Yeah the tension between the two is killing me - when is John finally going to show VB what a man he is? Will VB cry? Will they hold hands? And finally, the most important question: does VB have a sister?

                ¡El diablo está en mis pantalones! ¡Mire, mire! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF! Personal 3D projects Just Say No to Web 2 Point Blow

                H Offline
                H Offline
                Henry Minute
                wrote on last edited by
                #20

                Jim Crafton wrote:

                does VB have a sister

                Yes. Yes she does[^]!

                Do Until True = False
                Bump Squidgey bits
                Loop

                Henry Minute Do not read medical books! You could die of a misprint. - Mark Twain Girl: (staring) "Why do you need an icy cucumber?" “I want to report a fraud. The government is lying to us all.”

                H 1 Reply Last reply
                0
                • D Dalek Dave

                  C# - Like C but they made a hash of it!

                  ------------------------------------ I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave CCC League Table Link CCC Link[^]

                  H Offline
                  H Offline
                  Henry Minute
                  wrote on last edited by
                  #21

                  Keep pounding away DD, you'll get there.

                  Henry Minute Do not read medical books! You could die of a misprint. - Mark Twain Girl: (staring) "Why do you need an icy cucumber?" “I want to report a fraud. The government is lying to us all.”

                  D 1 Reply Last reply
                  0
                  • H Henry Minute

                    Keep pounding away DD, you'll get there.

                    Henry Minute Do not read medical books! You could die of a misprint. - Mark Twain Girl: (staring) "Why do you need an icy cucumber?" “I want to report a fraud. The government is lying to us all.”

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

                    A 24 Carat pun!

                    ------------------------------------ I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave CCC League Table Link CCC Link[^]

                    1 Reply Last reply
                    0
                    • R realJSOP
                      1. The intellisense refuses to "let go" unless I tap the Escape key 1) Syntax highlighting sucks. In C#, all types are highlighted - in VB, only intrinisc types are highlighted. 2) It's VB. 3) There are no automatic code formatting options like we get with C#

                      .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

                      M Offline
                      M Offline
                      Marc Clifton
                      wrote on last edited by
                      #23

                      So how'd it go with the customer and the boss regarding the change from C# to VB? (or did I miss an update somewhere???) Marc

                      R 1 Reply Last reply
                      0
                      • F fjdiewornncalwe

                        It is truly Very Bad

                        I wasn't, now I am, then I won't be anymore.

                        K Offline
                        K Offline
                        Kelly Herald
                        wrote on last edited by
                        #24

                        It's Very Bad because it is too VerBose!

                        Kelly Herald Software Developer

                        1 Reply Last reply
                        0
                        • M Marc Clifton

                          So how'd it go with the customer and the boss regarding the change from C# to VB? (or did I miss an update somewhere???) Marc

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

                          Well, going back to C# on this project is a moot point because I got the app running late yesterday afternoon. Since the code is essentially at the same place we were on Veteran's Day with the C# version, why go back? The gist of that is that there will be no team meeting about what we should do. The customer called my boss into his office and shut the door this morning, so nobody else knows what was said. In essence, I'm in VB hell, and will be there until sometime late next year when/if the contract is converted to civil service. This is the fourth job I've had in the last three years, and don't want to hop to a new one until I've been here at least a year (March 2011).

                          .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

                          M 1 Reply Last reply
                          0
                          • R realJSOP
                            1. The intellisense refuses to "let go" unless I tap the Escape key 1) Syntax highlighting sucks. In C#, all types are highlighted - in VB, only intrinisc types are highlighted. 2) It's VB. 3) There are no automatic code formatting options like we get with C#

                            .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

                            P Offline
                            P Offline
                            Phil Martin
                            wrote on last edited by
                            #26
                            1. It's super odd array declaration syntax that allows indexing to start at 1 instead of 0. There are a couple of things it has that I wish C# had though. -1) Calling an interface implementation method by a different name. Thats handy some times when implementing 4 similar interfaces. -2) It's XML support in the code. It's nice sometimes. -3) How you don't have to check if a event handler is null before you call it. I don't think I've ever wanted calling a null event handler to throw an exception. Shoot me now, I can't believe I said something positive about VB.
                            R 1 Reply Last reply
                            0
                            • P Phil Martin
                              1. It's super odd array declaration syntax that allows indexing to start at 1 instead of 0. There are a couple of things it has that I wish C# had though. -1) Calling an interface implementation method by a different name. Thats handy some times when implementing 4 similar interfaces. -2) It's XML support in the code. It's nice sometimes. -3) How you don't have to check if a event handler is null before you call it. I don't think I've ever wanted calling a null event handler to throw an exception. Shoot me now, I can't believe I said something positive about VB.
                              R Offline
                              R Offline
                              realJSOP
                              wrote on last edited by
                              #27

                              Phil Martin... wrote:

                              -1) Calling an interface implementation method by a different name. Thats handy some times when implementing 4 similar interfaces.

                              But this seems to compile in C#...

                              public interface IFace1
                              {
                              void Func1();
                              }

                              public interface IFace2
                              {
                              void Func1();
                              }

                              class Class1 : IFace1, IFace2
                              {
                              void IFace1.Func1() { }

                              void IFace2.Func1() { }
                              
                              void Func1() { }
                              

                              }

                              Phil Martin... wrote:

                              -2) It's XML support in the code. It's nice sometimes.

                              What does that mean?

                              Phil Martin... wrote:

                              -3) How you don't have to check if a event handler is null before you call it. I don't think I've ever wanted calling a null event handler to throw an exception.

                              I don't have that problem. When I create a custom event, I do this:

                              null.

                              .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

                              P 1 Reply Last reply
                              0
                              • D Dalek Dave

                                No Pooftahs!

                                ------------------------------------ I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave CCC League Table Link CCC Link[^]

                                J Offline
                                J Offline
                                Johnny J
                                wrote on last edited by
                                #28

                                No, that's rule six...

                                1f y0u c4n r34d 7h15 y0u r3411y n33d 70 g37 14!d Gotta run; I've got people to do and things to see... Don't tell my folks I'm a computer programmer - They think I'm a piano player in a cat house... Da mihi sis crustum Etruscum cum omnibus in eo!

                                K 1 Reply Last reply
                                0
                                • R realJSOP
                                  1. The intellisense refuses to "let go" unless I tap the Escape key 1) Syntax highlighting sucks. In C#, all types are highlighted - in VB, only intrinisc types are highlighted. 2) It's VB. 3) There are no automatic code formatting options like we get with C#

                                  .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

                                  J Offline
                                  J Offline
                                  Johnny J
                                  wrote on last edited by
                                  #29

                                  Well, joke about VB all that you want, but if it pays your meals, then what the heck??? I'll take your VB jobs if you really don't want them...

                                  1f y0u c4n r34d 7h15 y0u r3411y n33d 70 g37 14!d Gotta run; I've got people to do and things to see... Don't tell my folks I'm a computer programmer - They think I'm a piano player in a cat house... Da mihi sis crustum Etruscum cum omnibus in eo!

                                  1 Reply Last reply
                                  0
                                  • I Ian Shlasko

                                    Yep, VB3 was great (I never used VB1 or 2)... Before then, I had stuck to console programming because... Let's face it... I was lazy. Then VB4 came along, and that was great... Then VB5 came along, finally adding OOP (Kinda... Well, almost... Eh) Then VB6 came along, and I started to wonder. Then VB.NET came along, and I cheered. Then I looked over at C#, and thought, "Why am I still writing VB code?"

                                    Proud to have finally moved to the A-Ark. Which one are you in?
                                    Author of the Guardians Saga (Sci-Fi/Fantasy novels)

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

                                    Ian Shlasko wrote:

                                    Then I looked over at C#, and thought

                                    Whereas I looked at c# and wondered why anyone would use a case sensitive language. It wasn't till intellisense improved to the point where case was irrelevant that I was willing to move to c# and that was in vs08.

                                    Never underestimate the power of human stupidity RAH

                                    K 1 Reply Last reply
                                    0
                                    • R realJSOP

                                      Well, going back to C# on this project is a moot point because I got the app running late yesterday afternoon. Since the code is essentially at the same place we were on Veteran's Day with the C# version, why go back? The gist of that is that there will be no team meeting about what we should do. The customer called my boss into his office and shut the door this morning, so nobody else knows what was said. In essence, I'm in VB hell, and will be there until sometime late next year when/if the contract is converted to civil service. This is the fourth job I've had in the last three years, and don't want to hop to a new one until I've been here at least a year (March 2011).

                                      .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

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

                                      I'm glad to hear your ass is not in the sling for your managers decisions.

                                      John Simmons / outlaw programmer wrote:

                                      This is the fourth job I've had in the last three years

                                      I can understand that decision, economic survival has some excellent benefits. And no matter the reasons too many short term contracts just looks bad on a CV.

                                      Never underestimate the power of human stupidity RAH

                                      1 Reply Last reply
                                      0
                                      • R realJSOP

                                        Phil Martin... wrote:

                                        -1) Calling an interface implementation method by a different name. Thats handy some times when implementing 4 similar interfaces.

                                        But this seems to compile in C#...

                                        public interface IFace1
                                        {
                                        void Func1();
                                        }

                                        public interface IFace2
                                        {
                                        void Func1();
                                        }

                                        class Class1 : IFace1, IFace2
                                        {
                                        void IFace1.Func1() { }

                                        void IFace2.Func1() { }
                                        
                                        void Func1() { }
                                        

                                        }

                                        Phil Martin... wrote:

                                        -2) It's XML support in the code. It's nice sometimes.

                                        What does that mean?

                                        Phil Martin... wrote:

                                        -3) How you don't have to check if a event handler is null before you call it. I don't think I've ever wanted calling a null event handler to throw an exception.

                                        I don't have that problem. When I create a custom event, I do this:

                                        null.

                                        .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

                                        P Offline
                                        P Offline
                                        Phil Martin
                                        wrote on last edited by
                                        #32
                                        1. Congratulations on writing code that will compile, but it isn't the same thing. 2) Here's a simple example: Dim xml =

                                        Shrimp Cocktail Escargot Filet Mignon Garlic Potatoes Broccoli Chocolate Cheesecake

                                        And it will create an XElement tree for use in code. Do a search for "XML Literals in VB.Net". You can do some nice subtitution and things as well. It's nice, sometimes. 3) I think something got trimmed in your third one, it just said "null".

                                        1 Reply Last reply
                                        0
                                        • R realJSOP
                                          1. The intellisense refuses to "let go" unless I tap the Escape key 1) Syntax highlighting sucks. In C#, all types are highlighted - in VB, only intrinisc types are highlighted. 2) It's VB. 3) There are no automatic code formatting options like we get with C#

                                          .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

                                          J Offline
                                          J Offline
                                          Jason Christian
                                          wrote on last edited by
                                          #33

                                          Funny - those all sound like problems with your VB IDE (granted, not a lot of options there), not the language itself. (Which has plenty of reasons to hate it).

                                          M 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