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. VBxxxx (fill in your most hated incarnation) SUCKS

VBxxxx (fill in your most hated incarnation) SUCKS

Scheduled Pinned Locked Moved The Lounge
c++comcareer
45 Posts 23 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.
  • C Chris Austin

    Al Beback wrote:

    you don't feel the pain.

    [Note:] I am assuming VB 1 - 6 Until you try to do something silly like gasp interact with the operating system or use threads.

    My Blog A human being should be able to change a diaper, plan an invasion, butcher a hog, conn a ship, design a building, write a sonnet, balance accounts, build a wall, set a bone, comfort the dying, take orders, give orders, cooperate, act alone, solve equations, analyze a new problem, pitch manure, program a computer, cook a tasty meal, fight efficiently, die gallantly. Specialization is for insects. - -Lazarus Long

    A Offline
    A Offline
    Anton Afanasyev
    wrote on last edited by
    #25

    Chris Austin wrote:

    interact with the operating system or use threads.

    VB6 (maybe 1-5 too, never used those) wasn't _completely_ impossible to interact with the OS/use threads. Sure, you'd have to spend all you work AND free time to get it working, but it sure was possible. And sure, you'd have more code that actually made sure things produce the correct result than code that actually does what the program is supposed to do, but at the end of the day it worked anyway, albeit sluggishly...and that it would be the end of the _next_ day.


    :badger:

    C 1 Reply Last reply
    0
    • A Anton Afanasyev

      Chris Austin wrote:

      interact with the operating system or use threads.

      VB6 (maybe 1-5 too, never used those) wasn't _completely_ impossible to interact with the OS/use threads. Sure, you'd have to spend all you work AND free time to get it working, but it sure was possible. And sure, you'd have more code that actually made sure things produce the correct result than code that actually does what the program is supposed to do, but at the end of the day it worked anyway, albeit sluggishly...and that it would be the end of the _next_ day.


      :badger:

      C Offline
      C Offline
      Chris Austin
      wrote on last edited by
      #26

      Anton Afanasyev wrote:

      albeit sluggishly...and that it would be the end of the _next_ day.

      :laugh: You made my point for me, much better than I could. It shouldn't require so much extra effort.

      My Blog A human being should be able to change a diaper, plan an invasion, butcher a hog, conn a ship, design a building, write a sonnet, balance accounts, build a wall, set a bone, comfort the dying, take orders, give orders, cooperate, act alone, solve equations, analyze a new problem, pitch manure, program a computer, cook a tasty meal, fight efficiently, die gallantly. Specialization is for insects. - -Lazarus Long

      1 Reply Last reply
      0
      • C Chris Austin

        Al Beback wrote:

        you don't feel the pain.

        [Note:] I am assuming VB 1 - 6 Until you try to do something silly like gasp interact with the operating system or use threads.

        My Blog A human being should be able to change a diaper, plan an invasion, butcher a hog, conn a ship, design a building, write a sonnet, balance accounts, build a wall, set a bone, comfort the dying, take orders, give orders, cooperate, act alone, solve equations, analyze a new problem, pitch manure, program a computer, cook a tasty meal, fight efficiently, die gallantly. Specialization is for insects. - -Lazarus Long

        E Offline
        E Offline
        El Corazon
        wrote on last edited by
        #27

        Chris Austin wrote:

        interact with the operating system

        this is difficult... don't do it....

        Chris Austin wrote:

        use threads.

        this is difficult don't do it.... other things difficult and discouraged: loops, recursion, creativity, thought.... so don't do it! :rolleyes:

        _________________________ Asu no koto o ieba, tenjo de nezumi ga warau. Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb)

        C 1 Reply Last reply
        0
        • E El Corazon

          Chris Austin wrote:

          interact with the operating system

          this is difficult... don't do it....

          Chris Austin wrote:

          use threads.

          this is difficult don't do it.... other things difficult and discouraged: loops, recursion, creativity, thought.... so don't do it! :rolleyes:

          _________________________ Asu no koto o ieba, tenjo de nezumi ga warau. Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb)

          C Offline
          C Offline
          Chris Austin
          wrote on last edited by
          #28

          El Corazon wrote:

          so don't do it!

          But I already have!? Oh no, what do I do now? Will I get in trouble for it? :)

          My Blog A human being should be able to change a diaper, plan an invasion, butcher a hog, conn a ship, design a building, write a sonnet, balance accounts, build a wall, set a bone, comfort the dying, take orders, give orders, cooperate, act alone, solve equations, analyze a new problem, pitch manure, program a computer, cook a tasty meal, fight efficiently, die gallantly. Specialization is for insects. - -Lazarus Long

          E 1 Reply Last reply
          0
          • C Chris Austin

            El Corazon wrote:

            so don't do it!

            But I already have!? Oh no, what do I do now? Will I get in trouble for it? :)

            My Blog A human being should be able to change a diaper, plan an invasion, butcher a hog, conn a ship, design a building, write a sonnet, balance accounts, build a wall, set a bone, comfort the dying, take orders, give orders, cooperate, act alone, solve equations, analyze a new problem, pitch manure, program a computer, cook a tasty meal, fight efficiently, die gallantly. Specialization is for insects. - -Lazarus Long

            E Offline
            E Offline
            El Corazon
            wrote on last edited by
            #29

            Chris Austin wrote:

            Will I get in trouble for it?

            Yes... you will be caught in a VB.Net, and forced to write VB-X. :omg::omg:

            _________________________ Asu no koto o ieba, tenjo de nezumi ga warau. Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb)

            1 Reply Last reply
            0
            • R Rob Graham

              Nishant Sivakumar wrote:

              Currently VB.NET is not a dynamically typed language

              Sure it is. Just set Option Strict and Option Explicit to OFF and enjoy the benefits of data type that magically adapt to the context they are used in, even at the expense of loss of precision or meaning. So we are moving from the Common Language Runtime To the Damaged Language Runtime to support a return to bugs inherent in runtime type definition. Great.

              S Offline
              S Offline
              S Senthil Kumar
              wrote on last edited by
              #30

              I think you are mixing up static/dynamic typing and strong/weak typing. VBScript, for example is a weakly typed language, whereas JavaScript and Python are strongly typed languages - only that the type checking happens at runtime instead of (or in addition to) compile time.

              Regards Senthil [MVP - Visual C#] _____________________________ My Blog | My Articles | My Flickr | WinMacro

              1 Reply Last reply
              0
              • A Al Beback

                John Simmons / outlaw programmer wrote:

                evil incarnation of Visual Baisc.

                It takes time, but you will be assimilated. :) When you start looking at how easy and quickly business apps can be written with it, you might actually start liking it, a little. The syntax? Yep, it sucks. But the IDE practically fills in (and indents) all that wonderful verbosity for you, so you don't feel the pain.


                SUPPORT OUR TROOPS

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

                Al Beback wrote:

                When you start looking at how easy and quickly business apps can be written with it, you might actually start liking it, a little.

                See also: Stockholm Syndrome...

                ----

                It appears that everybody is under the impression that I approve of the documentation. You probably also blame Ken Burns for supporting slavery.

                --Raymond Chen on MSDN

                C 1 Reply Last reply
                0
                • K Kevin McFarlane

                  John Simmons / outlaw programmer wrote:

                  lately we find that almost all of the work we're doing right now involves some evil incarnation of Visual Baisc.

                  Prior to .NET I noticed a trend away from C++ and towards VB, especially for GUI and database work. But it's surprising that this is happening now at your place. Not transitioning to .NET? Or do you mean VB .NET? I know you hate .NET, so I suppose you'd moan if it was C# too.

                  Kevin

                  realJSOPR Online
                  realJSOPR Online
                  realJSOP
                  wrote on last edited by
                  #32

                  Like almost everyone else here, we have no choice. In each and every dreary case, we're maintaining old code, and there is no funding for conversions. I hate my job.

                  "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

                  K 1 Reply Last reply
                  0
                  • A Al Beback

                    John Simmons / outlaw programmer wrote:

                    evil incarnation of Visual Baisc.

                    It takes time, but you will be assimilated. :) When you start looking at how easy and quickly business apps can be written with it, you might actually start liking it, a little. The syntax? Yep, it sucks. But the IDE practically fills in (and indents) all that wonderful verbosity for you, so you don't feel the pain.


                    SUPPORT OUR TROOPS

                    realJSOPR Online
                    realJSOPR Online
                    realJSOP
                    wrote on last edited by
                    #33

                    I prefer the verbosity because it means *I* have control over what's happening and when. I can promise I will never start liking VB.

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

                      Does this mean that my VB program will be able to build a string that describes VB procedure and then run it (passing in params somehow)? And that my procedure will be able to find itself and change itself while it is running? Or is that too much to ask.

                      C Offline
                      C Offline
                      Chris Austin
                      wrote on last edited by
                      #34

                      Or you can use delegates to inject code dynamically in C#.

                      My Blog A human being should be able to change a diaper, plan an invasion, butcher a hog, conn a ship, design a building, write a sonnet, balance accounts, build a wall, set a bone, comfort the dying, take orders, give orders, cooperate, act alone, solve equations, analyze a new problem, pitch manure, program a computer, cook a tasty meal, fight efficiently, die gallantly. Specialization is for insects. - -Lazarus Long

                      1 Reply Last reply
                      0
                      • S Shog9 0

                        Al Beback wrote:

                        When you start looking at how easy and quickly business apps can be written with it, you might actually start liking it, a little.

                        See also: Stockholm Syndrome...

                        ----

                        It appears that everybody is under the impression that I approve of the documentation. You probably also blame Ken Burns for supporting slavery.

                        --Raymond Chen on MSDN

                        C Offline
                        C Offline
                        Chris Austin
                        wrote on last edited by
                        #35

                        :laugh:

                        My Blog A human being should be able to change a diaper, plan an invasion, butcher a hog, conn a ship, design a building, write a sonnet, balance accounts, build a wall, set a bone, comfort the dying, take orders, give orders, cooperate, act alone, solve equations, analyze a new problem, pitch manure, program a computer, cook a tasty meal, fight efficiently, die gallantly. Specialization is for insects. - -Lazarus Long

                        1 Reply Last reply
                        0
                        • N NealAB

                          Does this mean that my VB program will be able to build a string that describes VB procedure and then run it (passing in params somehow)? And that my procedure will be able to find itself and change itself while it is running? Or is that too much to ask.

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

                          You can do that in VB6 with the CallByName[^] function. When I discovered this it was the coolest thing since sliced bread, as I could use controls arrays, with a Tag property on each control indicating which property it was 'bound' to.

                          1 Reply Last reply
                          0
                          • N Nish Nishant

                            John Simmons / outlaw programmer wrote:

                            You have to explain to them what you mean by "typed". their first response is likely to be something like, "Of course my code is typed. Do you think i magically project it onto the screen with the power of my mind?"

                            Cruel! :laugh:

                            Regards, Nish


                            Nish’s thoughts on MFC, C++/CLI and .NET (my blog)
                            My latest book : C++/CLI in Action / Amazon.com link

                            R Offline
                            R Offline
                            Rajesh R Subramanian
                            wrote on last edited by
                            #37

                            Nishant Sivakumar wrote:

                            Cruel!

                            Not at all!

                            1 Reply Last reply
                            0
                            • realJSOPR realJSOP

                              I think their first coding standard should have been: Avoid Coding In Visual Basic

                              "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

                              W Offline
                              W Offline
                              WillemM
                              wrote on last edited by
                              #38

                              I totally agree. They should have a warning page first. Warning, this page contains explicit VB content not to be viewed by C++, Java or C# developers :P

                              WM. What about weapons of mass-construction? "What? Its an Apple MacBook Pro. They are sexy!" - Paul Watson

                              1 Reply Last reply
                              0
                              • realJSOPR realJSOP

                                We've been a C++ shop since the beginning of time, but lately we find that almost all of the work we're doing right now involves some evil incarnation of Visual Baisc. None of us like coding in it, and we spend a good part of the day hurling insults at it. Our project manager chimes in with her usual harpie-like screech proclaiming "At least you have a job!". I hate her. In any case, one of our testers was crusing the web looking for something about VB, and she stumbled across this: http://www.visibleprogress.com/vb_coding_standards.htm[^] I thought some of you might enjoy it as much as we have.

                                "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

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

                                John Simmons / outlaw programmer wrote:

                                At least you have a job!".

                                Easy start looking for a new one and when you leave stick to her - bitch, I had PM's who act like that. John I feel your pain, personally if I was dumped with a VB project I would have to jump ship.

                                .net is a box of never ending treasures, every day I get find another gem.

                                realJSOPR 1 Reply Last reply
                                0
                                • realJSOPR realJSOP

                                  Like almost everyone else here, we have no choice. In each and every dreary case, we're maintaining old code, and there is no funding for conversions. I hate my job.

                                  "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

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

                                  John Simmons / outlaw programmer wrote:

                                  I hate my job.

                                  Does that mean you're looking around? :)

                                  Kevin

                                  realJSOPR 1 Reply Last reply
                                  0
                                  • K Kevin McFarlane

                                    John Simmons / outlaw programmer wrote:

                                    I hate my job.

                                    Does that mean you're looking around? :)

                                    Kevin

                                    realJSOPR Online
                                    realJSOPR Online
                                    realJSOP
                                    wrote on last edited by
                                    #41

                                    Not in San Antonio. Other than the job I have, and the occasional convenience store clerk, the highest tech job in this town is picking lettuce.

                                    "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

                                    K 1 Reply Last reply
                                    0
                                    • N NormDroid

                                      John Simmons / outlaw programmer wrote:

                                      At least you have a job!".

                                      Easy start looking for a new one and when you leave stick to her - bitch, I had PM's who act like that. John I feel your pain, personally if I was dumped with a VB project I would have to jump ship.

                                      .net is a box of never ending treasures, every day I get find another gem.

                                      realJSOPR Online
                                      realJSOPR Online
                                      realJSOP
                                      wrote on last edited by
                                      #42

                                      Unfortunately, San Antonio is more interested in attracting blue collar employers, so you can either pick vegetables, or work at the Toyota plant. Everyone looking for high-tech work eventually moves out of town.

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

                                        Not in San Antonio. Other than the job I have, and the occasional convenience store clerk, the highest tech job in this town is picking lettuce.

                                        "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

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

                                        What a bummer! :(

                                        Kevin

                                        1 Reply Last reply
                                        0
                                        • realJSOPR realJSOP

                                          You have to explain to them what you mean by "typed". their first response is likely to be something like, "Of course my code is typed. Do you think i magically project it onto the screen with the power of my mind?"

                                          "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
                                          Dan Neely
                                          wrote on last edited by
                                          #44

                                          John Simmons / outlaw programmer wrote:

                                          You have to explain to them what you mean by "typed". their first response is likely to be something like, "Of course my code is typed. Do you think i magically project it onto the screen with the power of my mind?"

                                          May I use this as a sig?

                                          -- CleaKO The sad part about this instance is that none of the users ever said anything [about the problem]. Pete O`Hanlon Doesn't that just tell you everything you need to know about users?

                                          realJSOPR 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