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

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. The problem with VB?

The problem with VB?

Scheduled Pinned Locked Moved The Lounge
csharpdesignhelpquestion
49 Posts 24 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R realJSOP

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

    "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
    -----
    "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

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

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

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

    1 Reply Last reply
    0
    • L Lost User

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

      Morality is indistinguishable from social proscription

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

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

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

      1 Reply Last reply
      0
      • P peterchen

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

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

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

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

        peterchen wrote:

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

        It is so! :confused:

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

        P 1 Reply Last reply
        0
        • P Pedro_FP_Simoes

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

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

          Where's leppie? :laugh:

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

          P 1 Reply Last reply
          0
          • J jchigg2000

            This is more like it!! Yes, I realize everything that you just stated. I personally can't think of a single language that was spot on from it's inception. For instance, a lot of people criticize C++ for not completely supporting either OO or procedural programming styles.

            L Offline
            L Offline
            led mike
            wrote on last edited by
            #35

            jchigg2000 wrote:

            I personally can't think of a single language that was spot on from it's inception.

            Wait, you are categorizing those gigantic flaws and barriers of VB as not being spot on? :laugh: That's another typical stereotype of VBers being acted out. ROTFLMAO

            led mike

            1 Reply Last reply
            0
            • P peterchen

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

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

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

              V Offline
              V Offline
              Vikram A Punathambekar
              wrote on last edited by
              #36

              What is it called in German? I noticed you called it a swastika, which is the English bastardization of the Indian (specifically, Sanskrit) word Swastik.

              Cheers, Vikram.


              The hands that help are holier than the lips that pray.

              P 1 Reply Last reply
              0
              • B Brady Kelly

                Where's leppie? :laugh:

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

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

                Brady Kelly wrote:

                Where's leppie? [Laugh]

                sorry, I did not understand :confused:

                B 1 Reply Last reply
                0
                • V Vikram A Punathambekar

                  What is it called in German? I noticed you called it a swastika, which is the English bastardization of the Indian (specifically, Sanskrit) word Swastik.

                  Cheers, Vikram.


                  The hands that help are holier than the lips that pray.

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

                  Hakenkreuz ("hooked cross") or Swastika - the latter being more a reference to the symbol as such but also totally tainted with 3rd Reich background. Wikipedia.de[^] says that the sanskrit word is indeed Swastika: Sanskrit: ????????, m., svastika, „Glücksbringer“

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

                  V 2 Replies Last reply
                  0
                  • B Brady Kelly

                    peterchen wrote:

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

                    It is so! :confused:

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

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

                    Yes :) The biggest issue from language design IMO is the nonfunctional "type-free-ness" that is actually "what actually happens depends on the underlying type but you don't really want to know". Second is the error handling which is comparedly powerful if used correctly, but hard to get right. Thir comes a bunch of leaky abstractions [^](which is the second probglem of C++, though).

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

                    B 1 Reply Last reply
                    0
                    • P Pedro_FP_Simoes

                      Brady Kelly wrote:

                      Where's leppie? [Laugh]

                      sorry, I did not understand :confused:

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

                      leppie is a function programming man. He wouldn't like your implication that VB could be better than, say, Scheme. ;P

                      P 1 Reply Last reply
                      0
                      • B Brady Kelly

                        leppie is a function programming man. He wouldn't like your implication that VB could be better than, say, Scheme. ;P

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

                        eh eh I'm more an imperative/object oriented language man, like C/C++(the best), Java, C#, VB.NET(VB6 is garbage). Lisp/Scheme has a Lot of Irritating and Stupid Paranthesis :( take the parenthesis out and it could be a good language :laugh:

                        1 Reply Last reply
                        0
                        • R realJSOP

                          MikeMarq wrote:

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

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

                          "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
                          -----
                          "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

                          J Offline
                          J Offline
                          Johnno74
                          wrote on last edited by
                          #42

                          I haven't used a GOTO in vb.net, ever. And the only time I ever used them in VB6 was for error handling. I'd also like to point out that C# has a goto statement. As has C/C++. None of these languages reccommend the use of goto, let alone encourage it. In C and VB6 its sometimes the cleanest way of doing stuff like error handling tho.

                          1 Reply Last reply
                          0
                          • P peterchen

                            Yes :) The biggest issue from language design IMO is the nonfunctional "type-free-ness" that is actually "what actually happens depends on the underlying type but you don't really want to know". Second is the error handling which is comparedly powerful if used correctly, but hard to get right. Thir comes a bunch of leaky abstractions [^](which is the second probglem of C++, though).

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

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

                            peterchen wrote:

                            leaky abstractions [^]

                            That's quite a 'leaky' link!

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

                            P 1 Reply Last reply
                            0
                            • B Brady Kelly

                              Shog9 wrote:

                              and use VB

                              They are among us? :~

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

                              M Offline
                              M Offline
                              Mustafa Ismail Mustafa
                              wrote on last edited by
                              #44

                              Sadly yes. My last job had me doing just that.

                              "Every time Lotus Notes starts up, somewhere a puppy, a kitten, a lamb, and a baby seal are killed. Lotus Notes is a conspiracy by the forces of Satan to drive us over the brink into madness. The CRC-32 for each file in the installation includes the numbers 666." Gary Wheeler "You're an idiot." John Simmons, THE Outlaw programmer "I realised that all of my best anecdotes started with "So there we were, pissed". Pete O'Hanlon

                              1 Reply Last reply
                              0
                              • P peterchen

                                Hakenkreuz ("hooked cross") or Swastika - the latter being more a reference to the symbol as such but also totally tainted with 3rd Reich background. Wikipedia.de[^] says that the sanskrit word is indeed Swastika: Sanskrit: ????????, m., svastika, „Glücksbringer“

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

                                V Offline
                                V Offline
                                Vikram A Punathambekar
                                wrote on last edited by
                                #45

                                It is called ???????? (pronounced Swastik, or Svastik if you please - Indian languages make no distinction between v and w sounds) in Sanskrit, Hindi and Marathi. Swastika would be rendered as ????????? in Devanagari. I think German has been tainted by the illegitimate English 'a' in this regard. It's quite infamous, really - a lot of Indian names that end in a consonant sound have a trailing 'a' in English. Arjun is Arjuna, Krishn is Krishna, Ram is Rama, etc.

                                Cheers, Vikram.


                                The hands that help are holier than the lips that pray.

                                1 Reply Last reply
                                0
                                • J jchigg2000

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

                                  M Offline
                                  M Offline
                                  Member 96
                                  wrote on last edited by
                                  #46

                                  Ignore them. A professional uses whatever tool best suits the task at hand. The rest is just immature pissing contests or elitist babbling.


                                  "The great pleasure in life is doing what people say you cannot do." - Walter Bagehot

                                  1 Reply Last reply
                                  0
                                  • P peterchen

                                    Hakenkreuz ("hooked cross") or Swastika - the latter being more a reference to the symbol as such but also totally tainted with 3rd Reich background. Wikipedia.de[^] says that the sanskrit word is indeed Swastika: Sanskrit: ????????, m., svastika, „Glücksbringer“

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

                                    V Offline
                                    V Offline
                                    Vikram A Punathambekar
                                    wrote on last edited by
                                    #47

                                    I noticed CP screwed up the Devanagari characters, but hopefully the notification email should render it correctly.

                                    Cheers, Vikram.


                                    The hands that help are holier than the lips that pray.

                                    1 Reply Last reply
                                    0
                                    • B Brady Kelly

                                      peterchen wrote:

                                      leaky abstractions [^]

                                      That's quite a 'leaky' link!

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

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

                                      Ech, I'm out of people to blame for today, here's what I wanted to link to: http://www.joelonsoftware.com/articles/LeakyAbstractions.html[^]

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

                                      1 Reply Last reply
                                      0
                                      • J jchigg2000

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

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

                                        The best proof that VB sucks is the VB users' need to justify VB's existence and prove its adequacy! You never hear a C programmer do that, do you?

                                        To hell with circumstances; I create opportunities.

                                        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