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. Anti-VB

Anti-VB

Scheduled Pinned Locked Moved The Lounge
csharpvisual-studioquestion
92 Posts 31 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.
  • B bakerfishsticks

    John Simmons / outlaw programmer wrote:

    Hmmm, I can't recall an app that I was involved with that was ever delivered late, and every one of them looked better than any VB app you might want to point out.

    that works when your timelines are twice as long.

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

    I'll just be over here, sitting and pondering the consultant-written library (VB.NET) that i'm *still* waiting for delivery on, three weeks since it was promised (now a week away from release, with precious little time left for testing). But hey, there are some good examples of VB programmers out there. I just never get to work with them...

    ---- Scripts i've known... CPhog 0.9.9 - make CP better. Forum Bookmark 0.2.5 - bookmark forum posts on Pensieve Print forum 0.1.1 - printer-friendly forums

    B 1 Reply Last reply
    0
    • C Colin Angus Mackay

      computerguru92382 wrote:

      Real programmers program C++.

      No, real programmers hand code all those ones and zeros. ColinMackay.net "Man who stand on hill with mouth open will wait long time for roast duck to drop in." -- Confucius "If a man empties his purse into his head, no man can take it away from him, for an investment in knowledge pays the best interest." -- Joseph E. O'Donnell

      P Offline
      P Offline
      Paul Conrad
      wrote on last edited by
      #47

      Colin Angus Mackay wrote:

      real programmers hand code all those ones and zeros

      Goodness, me, I shouldn't forget about assembly language... Paul

      C 1 Reply Last reply
      0
      • A Allah On Acid

        I personally dislike VB because of two reasons: 1: As someone mentioned earlier, the option explicit and option strict features 2: Syntax Consider the following two examples, VB .Net Dim a, b a = 10 b = "ABC" Console.WriteLine(a) Console.WriteLine(b) C# int a = 10; string b = "ABC"; Console.WriteLine(a.ToString()); Console.WriteLine(b); While they both do the exact same thing, for me, C# makes the code more understandable because you have to explicitly tell it what type each variable is, and tell it to convert between types, while with vb, it automatically converts between types. For me, that would make it easier to be sloppy and write unmaintanable code. I am not saying VB programmers are bad, i am just saying that from my perspective, C# seems to have alot of benefits that VB doesnt have.

        Xoy wrote:

        Especially if its C# vs VB... Considering there isn't that much different between them

        I think it is all a matter of personal preference.

        X Offline
        X Offline
        Xoy
        wrote on last edited by
        #48

        Pumk1nh3ad wrote:

        1: As someone mentioned earlier, the option explicit and option strict features

        Tools->Options-> Projects and Solutions->VB Defaults: Option Explit: On Option Strict: On Turn those on and its automatic ;) I personally can't stand implicit code... I make everything quite explicit :-D Though I don't see why calling having an option a disadvantage :suss: And technically those two code segments aren't the same thing ;P You should be able to acheive similar results by declaring the variables as objects in C# ;) Though yes, its all part of your point :rolleyes: Still though... whats wrong with more options ;P

        Pumk1nh3ad wrote:

        I think it is all a matter of personal preference.

        I'd say so :) Its almost 1-1 line conversions between the two (haven't seen any that needed more actually lol) ;P

        1 Reply Last reply
        0
        • E Ed Poore

          I would except I get bored :zzz: by this guy when he say's hello so if I ask him this question then I'll have to sneak a tape-recorder in to tape it which technically I shouldn't be doing as it's against school rules and I'm meant to enforce them as head-boy. :( Then again, maybe I'll take some coffee which I cannot stand so that I remain awake long enough in the name of CP research. :) Ed

          C Offline
          C Offline
          Colin Angus Mackay
          wrote on last edited by
          #49

          Ed.Poore wrote:

          sneak a tape-recorder in to tape it which technically I shouldn't be doing as it's against school rules

          Where I work it is technically against the rules to download music to your PC. The guy whose job it is to enforce those rules helpfully suggested that over the weekend I fire up the VPN from home then upload the music instead. So, if the rules say no tape recorders then go for something else. Pocket PCs tend to have a microphone built in. Some MP3 players have a microphone and record function. ColinMackay.net "Man who stand on hill with mouth open will wait long time for roast duck to drop in." -- Confucius "If a man empties his purse into his head, no man can take it away from him, for an investment in knowledge pays the best interest." -- Joseph E. O'Donnell

          E 1 Reply Last reply
          0
          • S Shog9 0

            I'll just be over here, sitting and pondering the consultant-written library (VB.NET) that i'm *still* waiting for delivery on, three weeks since it was promised (now a week away from release, with precious little time left for testing). But hey, there are some good examples of VB programmers out there. I just never get to work with them...

            ---- Scripts i've known... CPhog 0.9.9 - make CP better. Forum Bookmark 0.2.5 - bookmark forum posts on Pensieve Print forum 0.1.1 - printer-friendly forums

            B Offline
            B Offline
            bakerfishsticks
            wrote on last edited by
            #50

            Sorry but i would never outsource a project i needed asap. I thought real programmers program not outsource? You are talking about VB.NET not Vb 6.0 or less. VB.NET is on the same field as java/C# I thought this vb bashing was on versions 6 and under.

            S 1 Reply Last reply
            0
            • P Paul Conrad

              Colin Angus Mackay wrote:

              real programmers hand code all those ones and zeros

              Goodness, me, I shouldn't forget about assembly language... Paul

              C Offline
              C Offline
              Colin Angus Mackay
              wrote on last edited by
              #51

              computerguru92382 wrote:

              assembly language

              Pah! Assembly language is for innumerate monkeys. :-D ColinMackay.net "Man who stand on hill with mouth open will wait long time for roast duck to drop in." -- Confucius "If a man empties his purse into his head, no man can take it away from him, for an investment in knowledge pays the best interest." -- Joseph E. O'Donnell

              1 Reply Last reply
              0
              • B bakerfishsticks

                Sorry but i would never outsource a project i needed asap. I thought real programmers program not outsource? You are talking about VB.NET not Vb 6.0 or less. VB.NET is on the same field as java/C# I thought this vb bashing was on versions 6 and under.

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

                bakerfishsticks wrote:

                Sorry but i would never outsource a project i needed asap.

                It isn't my project. And to be honest, i don't much care if it gets done or not - the ones that'll suffer are the ones that hired the consultants. But i said i'd write a UI for it, and it bugs me that i took the time to do that straight away, when it's looking like it won't be used for another month or so.

                bakerfishsticks wrote:

                I thought this vb bashing was on versions 6 and under.

                VB6 definitely suffers from a much worse development UI. But it's the programmers who gravitate towards them that bug me most, not the languages themselves.

                ---- Scripts i've known... CPhog 0.9.9 - make CP better. Forum Bookmark 0.2.5 - bookmark forum posts on Pensieve Print forum 0.1.1 - printer-friendly forums

                B 1 Reply Last reply
                0
                • S Shog9 0

                  Xoy wrote:

                  I think its fine to prefer one language over others, perhaps due to what you are most comfortable with, syntax preference, etc...

                  I have no objection with someone wanting to use VB. I also have no problem with people who don't bathe, smoke heavily, and eat a lot of fish... ...I just don't want to work with either one of them. ;)

                  ---- Scripts i've known... CPhog 0.9.9 - make CP better. Forum Bookmark 0.2.5 - bookmark forum posts on Pensieve Print forum 0.1.1 - printer-friendly forums

                  C Offline
                  C Offline
                  Colin Angus Mackay
                  wrote on last edited by
                  #53

                  Shog9 wrote:

                  I also have no problem with people who don't bathe

                  What!? Swim around in your own dirt!! :wtf: ColinMackay.net "Man who stand on hill with mouth open will wait long time for roast duck to drop in." -- Confucius "If a man empties his purse into his head, no man can take it away from him, for an investment in knowledge pays the best interest." -- Joseph E. O'Donnell

                  S 1 Reply Last reply
                  0
                  • X Xoy

                    Ed.Poore wrote:

                    Neither of the two main IT / Computing teachers had even heard of .NET before I said I was going to use if for my project!

                    At least (I hope) you didn't have to (try to) explain to your teachers how oop works ;P

                    D Offline
                    D Offline
                    Dan Neely
                    wrote on last edited by
                    #54

                    Xoy wrote:

                    At least (I hope) you didn't have to (try to) explain to your teachers how oop works

                    My HS teacher didn't. I taught myself (bad) OOP so that she couldn't scrutinize my code severely.

                    1 Reply Last reply
                    0
                    • S Shog9 0

                      bakerfishsticks wrote:

                      Sorry but i would never outsource a project i needed asap.

                      It isn't my project. And to be honest, i don't much care if it gets done or not - the ones that'll suffer are the ones that hired the consultants. But i said i'd write a UI for it, and it bugs me that i took the time to do that straight away, when it's looking like it won't be used for another month or so.

                      bakerfishsticks wrote:

                      I thought this vb bashing was on versions 6 and under.

                      VB6 definitely suffers from a much worse development UI. But it's the programmers who gravitate towards them that bug me most, not the languages themselves.

                      ---- Scripts i've known... CPhog 0.9.9 - make CP better. Forum Bookmark 0.2.5 - bookmark forum posts on Pensieve Print forum 0.1.1 - printer-friendly forums

                      B Offline
                      B Offline
                      bakerfishsticks
                      wrote on last edited by
                      #55

                      Shog9 wrote:

                      VB6 definitely suffers from a much worse development UI. But it's the programmers who gravitate towards them that bug me most, not the languages themselves.

                      Actually i agree with you!! I am not a VB programmer just trying to make the point that it's a tool and a valid tool to use. I use it most with office VBA stuff, but all of my application work is in JAVA/C#. Yes most progammers that use VB should not be programming. The argument is why we bash on VB as a language, personally i have nothing against VB.

                      1 Reply Last reply
                      0
                      • C Colin Angus Mackay

                        Shog9 wrote:

                        I also have no problem with people who don't bathe

                        What!? Swim around in your own dirt!! :wtf: ColinMackay.net "Man who stand on hill with mouth open will wait long time for roast duck to drop in." -- Confucius "If a man empties his purse into his head, no man can take it away from him, for an investment in knowledge pays the best interest." -- Joseph E. O'Donnell

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

                        Hey, maybe they suffer from really bad eczema or something. Who am i to judge?

                        ---- Scripts i've known... CPhog 0.9.9 - make CP better. Forum Bookmark 0.2.5 - bookmark forum posts on Pensieve Print forum 0.1.1 - printer-friendly forums

                        1 Reply Last reply
                        0
                        • C code frog 0

                          Who cares? Get back to work and write some friggin code in whatever language floats your boat. But what I really mean is write some code in whatever language pays your bills. Because languages don't matter paying bills and enjoying your lifestyle are why we do what we do. The rest of this is just wanna-be smack from smackless wanna-be's. Geez enough...:|

                          I only read CP for the articles. Code-frog System Architects, Inc.

                          N Offline
                          N Offline
                          Nitron
                          wrote on last edited by
                          #57

                          Looks like sig material to me... ~Nitron.


                          code-frog, on Visual Basic:

                          this is just wanna-be smack from smackless wanna-be's

                          1 Reply Last reply
                          0
                          • C Colin Angus Mackay

                            bakerfishsticks wrote:

                            Think about it if all businesses used c++ apps would never be on time.

                            Are VB apps statistically more likely to "be on time"? I would seriously doubt it. The primary reason for an app being available on time or not is politics, not the language the developers are using. ColinMackay.net "Man who stand on hill with mouth open will wait long time for roast duck to drop in." -- Confucius "If a man empties his purse into his head, no man can take it away from him, for an investment in knowledge pays the best interest." -- Joseph E. O'Donnell

                            J Offline
                            J Offline
                            Joshua Quick
                            wrote on last edited by
                            #58

                            Colin Angus Mackay wrote:

                            Are VB apps statistically more likely to "be on time"? I would seriously doubt it.

                            Back when MFC and VB6 were my weapons of choice, its my experience that I was much faster at putting together "simple window apps" with VB6. Hell, one time I created and released a software product with VB6 of excellent quality in 2 weeks. It was a big success, development and business wise. So, I think it depends on the kind of app you're creating. For a time, VB was the only RAD tool Microsoft had and it really was fast and easy to create simple windows apps with it. After all, that is what it was designed to do. As they say, the right tool for the right job.

                            1 Reply Last reply
                            0
                            • E El Corazon

                              Xoy wrote:

                              Especially if its C# vs VB... Considering there isn't that much different between them I mean, fine and all if you are more comfortable with the cish syntax, but whats wrong with vb

                              As some have pointed out this is more than a syntax issue. As you have noticed a lot of people have actually programmed in VB before, or had to fix VB, or been asked to stretch it to its limits. When you get down to the nitty gritty, all programming languages are closely related. They all have their syntax, they all have their supporting libraries (that mostly grew out of programmers using the language, some adopted officially later, others as unofficial or alternate standards, and others just to help you get a job done). So how does characterize Snobol, Prolog, Basic, C, C++, Ada, C#, D, Fortran, Pascal, etc.? 1) As pointed out compiler error/warning level support, how well can the compiler help you detect errors a) Is the language set up such that with too many assumptions that you will always compile even when the code is wrong b) Is the language set up such that the compiler just tells you "error line 110" and leaves you pondering what you typed 2) Debugging, profiling, and various other performance monitoring and data trace capability. a) when you have to debug a subtle error, how well will the environment help you do so? b) are the tools to support the language there? 3) User base support, and infrastructure support a) this is actually related to the above, but I bring it up to cover all the little things you never think of. There are hydrogen fuel cell vehicles, they exist, they run, and run clean. But you can't actually drive them out of california because there is no place to fuel them up again! b) everything lives and dies by infrastructure support, from IDEs, libraries, Case tools and design aids with rapid prototyping and getting that prototype to code. Even C++ built itself off the infrastructure of C, Basic created it's own infrastructure in Visual Basic, but that is as far as it went. C# borrowed from both C and VB infrastructure, but also built up its own to surpass VB. Compiler support in C# and test aid support as near as I can tell are superior to VB. My suggestion to anyone is run out and learn a second computer language. I don't care if you are programming in C# or C++, or even still C or VB, even if you are scouring the internet for Ada support, learn a second language. It gives you alternate logic concepts, allows you

                              X Offline
                              X Offline
                              Xoy
                              wrote on last edited by
                              #59

                              Jeffry J. Brickley wrote:

                              Basic created it's own infrastructure in Visual Basic

                              Thats one thing I like about .net :) The errors & warnings typically take you to the right location of the error rather than some random error in some random file ;P

                              Jeffry J. Brickley wrote:

                              1. As pointed out compiler error/warning level support, how well can the compiler help you detect errors

                              I'd say thats more a compiler issue than language ;)

                              Jeffry J. Brickley wrote:

                              a) when you have to debug a subtle error, how well will the environment help you do so?

                              IDE issue... even if vb has traditionally had a good ide for debugging :)

                              Jeffry J. Brickley wrote:

                              C# borrowed from both C and VB infrastructure, but also built up its own to surpass VB.

                              I wouldn't say that C#'s infrastructure was built to surpass vb... seems to me that microsoft is trying to keep the two fairly equivalent.

                              Jeffry J. Brickley wrote:

                              b) Is the language set up such that the compiler just tells you "error line 110" and leaves you pondering what you typed

                              Basic started long before vb... before c++ even I think... dun remember for sure. Course, vb made a lot of changes... it still had something to build off of. vb.net again made changes... and again had something to build off of.

                              Jeffry J. Brickley wrote:

                              My suggestion to anyone is run out and learn a second computer language. I don't care if you are programming in C# or C++, or even still C or VB, even if you are scouring the internet for Ada support, learn a second language. It gives you alternate logic concepts, allows you to program your code by design strategies rather than just "syntactically and functionally correct." Programming is more than just the language you are writing in, and the best way to break out of that in any language is to learn a second one.

                              Indeed. Learning more than one language is good :D Learn enough of them and they all seem the same ;P Well... close enough to it ;P I've picked up several of my preferences in programming from different languages :)

                              Jeffry J. Brickley wrote:

                              Lisp is strange

                              I thought lisp was kind of interesting... a slightly di

                              E 1 Reply Last reply
                              0
                              • C Colin Angus Mackay

                                Ed.Poore wrote:

                                sneak a tape-recorder in to tape it which technically I shouldn't be doing as it's against school rules

                                Where I work it is technically against the rules to download music to your PC. The guy whose job it is to enforce those rules helpfully suggested that over the weekend I fire up the VPN from home then upload the music instead. So, if the rules say no tape recorders then go for something else. Pocket PCs tend to have a microphone built in. Some MP3 players have a microphone and record function. ColinMackay.net "Man who stand on hill with mouth open will wait long time for roast duck to drop in." -- Confucius "If a man empties his purse into his head, no man can take it away from him, for an investment in knowledge pays the best interest." -- Joseph E. O'Donnell

                                E Offline
                                E Offline
                                Ed Poore
                                wrote on last edited by
                                #60

                                From what I can remember about school rules the only electronic equipments allowed is calculators & mobile phones (which should be switched off upon entering school grounds). But hey I take my laptop in almost everyday because atleast I can have full admin priviledges on that or Linux without having to spend the first 10 minutes of the lesson waiting for their Windows system to log on. I mean come on they had some ex-student working with me to cut down log-on time then they brought in another ex-student who's now being employed to tighten down on kids installing software & browsing internet, back to the 10 min log on times. I've compiled Gentoo quicker! Ed

                                1 Reply Last reply
                                0
                                • T ToddHileHoffer

                                  turn option stict and explicit on always. We require it in our department. Then code Dim a as integer = 10 Dim b as string = "ABC" Console.WriteLine(a.ToString()) Console.WriteLine(b) If you turn On option strict and explicit vb.net is more strict then C#! "People who never make mistakes, never do anything." My Blog

                                  X Offline
                                  X Offline
                                  Xoy
                                  wrote on last edited by
                                  #61

                                  ToddHileHoffer wrote:

                                  If you turn On option strict and explicit vb.net is more strict then C#!

                                  Is that why I like vb so much? considering how much I like explicity? Anything implicit drives me up the wall ;P

                                  1 Reply Last reply
                                  0
                                  • realJSOPR realJSOP

                                    Yet I am often critisized for trying to do the job for which I've been deposited on this planet. :( ------- sig starts "I've heard some drivers saying, 'We're going too fast here...'. If you're not here to race, go the hell home - don't come here and grumble about going too fast. Why don't you tie a kerosene rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

                                    P Offline
                                    P Offline
                                    PJ Arends
                                    wrote on last edited by
                                    #62

                                    Only by those with no sense of ha-ha.


                                    "You're obviously a superstar." - Christian Graus about me - 12 Feb '03 "Obviously ???  You're definitely a superstar!!!" - mYkel - 21 Jun '04 "There's not enough blatant self-congratulatory backslapping in the world today..." - HumblePie - 21 Jun '05 Within you lies the power for good - Use it!

                                    1 Reply Last reply
                                    0
                                    • X Xoy

                                      Why are so many people outspokenly anti-vb? I think its fine to prefer one language over others, perhaps due to what you are most comfortable with, syntax preference, etc... but why are so many people also anti-vb? Especially if its C# vs VB... Considering there isn't that much different between them :confused: I mean, fine and all if you are more comfortable with the cish syntax, but whats wrong with vb :confused: (note i'm referring to the language and not the people who use it ;P)

                                      J Offline
                                      J Offline
                                      Joshua Quick
                                      wrote on last edited by
                                      #63

                                      Xoy wrote:

                                      Why are so many people outspokenly anti-vb?

                                      I think it's partly elitism. Some developers do it to make themselves feel superior to others. Especially those that claim one programing language is more "real" than others. Others feel that the language has wronged them in some way and refuse to go back to it ever again. Ignore the emotional drivel. What it really comes down to is choosing the right tool for the right job. So, don't label yourself as a C# programmer or a VB programmer or a Java programmer. You're just limiting yourself. Be a Software Developer and recognize that different languages have their own advantages and disadvantages.

                                      1 Reply Last reply
                                      0
                                      • X Xoy

                                        Why are so many people outspokenly anti-vb? I think its fine to prefer one language over others, perhaps due to what you are most comfortable with, syntax preference, etc... but why are so many people also anti-vb? Especially if its C# vs VB... Considering there isn't that much different between them :confused: I mean, fine and all if you are more comfortable with the cish syntax, but whats wrong with vb :confused: (note i'm referring to the language and not the people who use it ;P)

                                        T Offline
                                        T Offline
                                        Tim Carmichael
                                        wrote on last edited by
                                        #64

                                        As a I/S professional who has been working in the industry for over 20 years, I have seen good and bad code in a variety of languages. Yes, all versions of BASIC let the programmer get away with a lot of crap, but, that has more to do with the programmer than the language. VB is a tool: neither good nor bad. There are many C, C++, C# programmers that believe obfuscated job is just wonderful! Well written code can, and should, exist in all languages. Rather than sewing dissension, work toward educating the masses about better techniques. Tim

                                        realJSOPR 1 Reply Last reply
                                        0
                                        • P Paul Conrad

                                          espeir wrote:

                                          VB is for losers!!!

                                          It's just a wanna-be programming language. Real programmers program C++. PC

                                          D Offline
                                          D Offline
                                          Dario Solera
                                          wrote on last edited by
                                          #65

                                          A good engineer knows ALWAYS what language to use for each project. He chooses between C/C++, C++.NET, C#, VB, VB.NET, Java and even Assembler when needed. Stop this childish behaviors. :suss: ___________________________________ Tozzi is right: Gaia is getting rid of us. My Blog [ITA]

                                          P 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