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.
  • J Jim Crafton

    I don't understand this whole "dynamic VB" thing. Isn't VB dynamic already? Doesn't it perform method coupling at runtime, not "compile" time? Is this a change due to VB.Net? Has there been a progression like: VB6 - dynamic VB.NeT - not dynamic VB-X - dynamic Remember, I'm just a caveman. I fell on some ice and later got thawed out by some of your scientists. Your world frightens and confuses me! Sometimes the honking horns of your traffic make me want to get out of my BMW.. and run off into the hills, or wherever.. Sometimes when I get a message on my fax machine, I wonder: "Did little demons get inside and type it?" I don't know! My primitive mind can't grasp these concepts. But there is one thing I do know - when a language like VB has an X after it, then it has to be dynamic. Thank you[^]

    ¡El diablo está en mis pantalones! ¡Mire, mire! Real Mentats use only 100% pure, unfooled around with Sapho Juice(tm)! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF! VCF Blog

    J Offline
    J Offline
    Joan M
    wrote on last edited by
    #13

    Yes... it is easy, they have discovered a better way to make a bad product and they know that the developers will have the dynamic habit of start running once VB is said... so in fact is more dynamic. :rolleyes: VB... I don't understand why it is still here and being used... Even I've never worked on C# I cannot understand why VB is still here, I cannot understand how it is not abandoned... I remember when some years ago I worked in VB and it was horrible... X|

    1 Reply Last reply
    0
    • C Chris Losinger

      John Simmons / outlaw programmer wrote:

      http://www.visibleprogress.com/vb\_coding\_standards.htm\[^\]

      Avoid Nested Loops [0193] Medium (500) Nested loop statements can occasionally lead to unexpected performance bottle-necks when the number of iterations is not confined to known limits.

      :laugh: :rolleyes:

      image processing toolkits | batch image processing | blogging

      N Offline
      N Offline
      NealAB
      wrote on last edited by
      #14

      Chris Losinger wrote:

      Avoid Nested Loops [0193] Medium (500)

      Maybe we should avoid loops altogether.

      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

        A Offline
        A Offline
        Al Beback
        wrote on last edited by
        #15

        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

        C S realJSOPR 3 Replies 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

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

          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 1 Reply Last reply
          0
          • N Nish Nishant

            From what little I understand, VBx (VB 10) will support the DLR (Dynamic Language Runtime) - just like other dynamic languages like Ruby. Currently VB.NET is not a dynamically typed language (VBers please correct me if I am wrong).

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

            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 1 Reply Last reply
            0
            • N Nish Nishant

              From what little I understand, VBx (VB 10) will support the DLR (Dynamic Language Runtime) - just like other dynamic languages like Ruby. Currently VB.NET is not a dynamically typed language (VBers please correct me if I am wrong).

              Regards, Nish


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

              N Offline
              N Offline
              NealAB
              wrote on last edited by
              #18

              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.

              A C B 3 Replies 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

                T Offline
                T Offline
                TheGreatAndPowerfulOz
                wrote on last edited by
                #19

                Cruel, but TRUE!

                Silence is the voice of complicity. Strange women lying in ponds distributing swords is no basis for a system of government. -- monty python Might I suggest that the universe was always the size of the cosmos. It is just that at one point the cosmos was the size of a marble. -- Colin Angus Mackay

                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

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

                  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 E 2 Replies Last reply
                  0
                  • D Douglas Troy

                    So what are you saying Nish? It will dynamically suck, or suck dynamically? :-D


                    :..::. Douglas H. Troy ::..
                    Bad Astronomy |VCF|wxWidgets|WTL

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

                    Douglas Troy wrote:

                    It will dynamically suck, or suck dynamically?

                    How about both?:laugh:


                    :badger:

                    1 Reply Last reply
                    0
                    • J Jim Crafton

                      I don't understand this whole "dynamic VB" thing. Isn't VB dynamic already? Doesn't it perform method coupling at runtime, not "compile" time? Is this a change due to VB.Net? Has there been a progression like: VB6 - dynamic VB.NeT - not dynamic VB-X - dynamic Remember, I'm just a caveman. I fell on some ice and later got thawed out by some of your scientists. Your world frightens and confuses me! Sometimes the honking horns of your traffic make me want to get out of my BMW.. and run off into the hills, or wherever.. Sometimes when I get a message on my fax machine, I wonder: "Did little demons get inside and type it?" I don't know! My primitive mind can't grasp these concepts. But there is one thing I do know - when a language like VB has an X after it, then it has to be dynamic. Thank you[^]

                      ¡El diablo está en mis pantalones! ¡Mire, mire! Real Mentats use only 100% pure, unfooled around with Sapho Juice(tm)! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF! VCF Blog

                      A Offline
                      A Offline
                      A A 0
                      wrote on last edited by
                      #22

                      Jim Crafton wrote:

                      I don't understand this whole "dynamic VB" thing.

                      Much of the information you will find released in the last couple of days surrounding the “DLR” seems to be marketing speak.

                      Jim Crafton wrote:

                      Isn't VB dynamic already? Doesn't it perform method coupling at runtime, not "compile" time?

                      VB .NET has elements of a dynamically typed language, though unlike previous versions you have to be more explicit about it.

                      Who is the creator? Finding Allah (Video) Surah Al-An'aam (Ayah 74-110)

                      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.

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

                        AFAIK that was possible back in VB6. In the dotNet-ian world (at least 1.1 and 2.0 for sure) you could use the built in tools to compile code (from memory or file(s)) to either file or memory, load it through use of reflection, and execute it. mm, what _IS_ DLR..?


                        :badger:

                        1 Reply Last reply
                        0
                        • P peterchen

                          :~


                          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
                          My first real C# project | Linkify!|FoldWithUs! | sighist

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

                          Thanks, now I'll have nightmares for a few [days|weeks]


                          :badger:

                          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

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