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.
  • J Julian Goldsmith

    So? Options aren't required and compile time warnings get in the way (for me). In VB .Net there are compile time warnings. __________________________________________ Let's push Satan

    M Offline
    M Offline
    malharone
    wrote on last edited by
    #72

    What I was trying to convery is that the VB allows users to turn off such explicit declaration of variables, explicit casting of expressions (when required). Furthermore, VB has such concept of "Modules" which allows users to create static methods. The legacy VB was not OO by nature, so those users to are now evolving to VB.net continue to write the same type of non-OO code without taking advantage of the new features. One of the newly introduced feature of VB.net 2k5 is the "My" keyword which allows programming shortcuts, thus not forcing the user to learn more about the encapsulating classes. Because VB makes it easier for users to write code, it on the otherhand does not require them to think profoundly and structured-ly about the code. Thus because VB allows such language exploitations, it promotes bad programming practices which come back and haunt you (or whoever is dealing with the mess) later. I'm not stereotyping that ALL VB developers are not quality programmers. My opinions reflect my observations of the code I have reviewed in the past. I'm not trying to flame another debate of VB vs C#, I just think a language has a strenght as long as the it forces you to learn proper programming techniques WITHOUT exposing too many keywords. I'd say the strengh of the language should be measured by the reserved keywords! - Malhar

    X 1 Reply Last reply
    0
    • X Xoy

      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 Offline
      E Offline
      El Corazon
      wrote on last edited by
      #73

      Xoy wrote:

      I wouldn't say one language is necessarily superior to another... it depends on what the program is supposed to do.

      Theoretically RPG I/II/III/IV etc. were supposed to build columnar reports easily. A report designer add-on to almost any modern language can produce it better. :) so we are still stuck that RPG is a lousy language. :laugh: But they integrate well with Cobol. :suss: _________________________ Asu no koto o ieba, tenjo de nezumi ga warau. Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb)

      X 1 Reply Last reply
      0
      • E El Corazon

        Xoy wrote:

        I wouldn't say one language is necessarily superior to another... it depends on what the program is supposed to do.

        Theoretically RPG I/II/III/IV etc. were supposed to build columnar reports easily. A report designer add-on to almost any modern language can produce it better. :) so we are still stuck that RPG is a lousy language. :laugh: But they integrate well with Cobol. :suss: _________________________ Asu no koto o ieba, tenjo de nezumi ga warau. Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb)

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

        Well I'm sure even BF has its applications... as limited as it may be ;P (which btw exists for .net now too :suss: ) It does what its supposed to do... Though of course times change too... sometimes a newer langauge/whatever will take over an older one... that do the same thing... just in a better way :)

        D 1 Reply Last reply
        0
        • J Julian Goldsmith

          Have you even looked at VB? class BlahBlahBlah { sub New() { object Thingy = new Object; }; }; Public Class BlahBlahBlah Public Sub New() Dim Thingy As New Object End Sub End Class The main difference is case. In VB Thingy = Thingy, thingy, tHINGY, etc. In C Thingy = Thingy. __________________________________________ Let's push Satan

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

          A language doesn't consist only of syntax.


          Some of us walk the memory lane, others plummet into a rabbit hole
          Tree in C# || Fold With Us! || sighist

          J 1 Reply Last reply
          0
          • X Xoy

            Well I'm sure even BF has its applications... as limited as it may be ;P (which btw exists for .net now too :suss: ) It does what its supposed to do... Though of course times change too... sometimes a newer langauge/whatever will take over an older one... that do the same thing... just in a better way :)

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

            Xoy wrote:

            Well I'm sure even BF has its applications... as limited as it may be

            What about malbroge(sp, named after a circle in dantes inferno). It took several years before anyone was able to write a hello world app in it, and IIRC it was done by generating every possible program of sizeN and testing the output.

            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)

              N Offline
              N Offline
              Nemanja Trifunovic
              wrote on last edited by
              #77

              Just wait for Mr Christian Graus of Tasmania to give his opinion on this matter. :-D


              My programming blahblahblah blog. If you ever find anything useful here, please let me know to remove it.

              1 Reply Last reply
              0
              • P peterchen

                A language doesn't consist only of syntax.


                Some of us walk the memory lane, others plummet into a rabbit hole
                Tree in C# || Fold With Us! || sighist

                J Offline
                J Offline
                Jorgen Sigvardsson
                wrote on last edited by
                #78

                Car jumps across pond!

                P 1 Reply Last reply
                0
                • J Jorgen Sigvardsson

                  Car jumps across pond!

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

                  eh? :confused:


                  Some of us walk the memory lane, others plummet into a rabbit hole
                  Tree in C# || Fold With Us! || sighist

                  J 1 Reply Last reply
                  0
                  • P peterchen

                    eh? :confused:


                    Some of us walk the memory lane, others plummet into a rabbit hole
                    Tree in C# || Fold With Us! || sighist

                    J Offline
                    J Offline
                    Jorgen Sigvardsson
                    wrote on last edited by
                    #80

                    Just proving your point. :)

                    P 1 Reply Last reply
                    0
                    • E Ed Poore

                      I think that the main reason that there are so many anti-vb is because of

                      Xoy wrote:

                      the people who use it

                      From what I understand many people think that VB coders produces sloppy programs with the mind for completing the program quickly rather than stably. I started off as a VB programmer years ago and even then found some quirks of the language which I didn't like but it wasn't a bad language as such. VB.NET started to address these problems but then I switched to C# and have harldy looked back. Just my 2p (I feel like being patriotic now that Wales is back winning in the 6 nations :-D) on the General Opinion. Ed

                      J Offline
                      J Offline
                      Jeremy Falcon
                      wrote on last edited by
                      #81

                      Ed.Poore wrote:

                      From what I understand many people think that VB coders produces sloppy programs with the mind for completing the program quickly rather than stably.

                      For one, there's no such word as "stably". For two, they do. Jeremy Falcon

                      1 Reply Last reply
                      0
                      • T Tom Archer

                        Well, I for one, can you that this place would be supremely boring without people like you. Tom Archer (blog) Program Manager MSDN Online (Windows Vista and Visual C++) MICROSOFT

                        R Offline
                        R Offline
                        Roger Wright
                        wrote on last edited by
                        #82

                        I agree completely, whatever it is you meant to say.;P Watch the mail... a package should be along shortly. I tossed in TASM and TD, to boot, and if I find the manuals they'll be along shortly. Have fun!:-D "...a photo album is like Life, but flat and stuck to pages." - Shog9

                        T 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)

                          R Offline
                          R Offline
                          Roger Wright
                          wrote on last edited by
                          #83

                          Beginners All-purpose Symbolic Instruction Code (BASIC) was invented by two mathematicians at Dartmouth in 1963 as a teaching tool, not a programming language. It was never intended to be a real language, but served only to instruct raw beginners in the rudimentary functions necessary to make a computer do something more useful than warm the lab. It was simplified by MS by making it Visual, so that even greener tyros, not to mention the occasional manager, could figure it out well enough to make pretty dialog boxes. This is much like making rifles automatic, so that you don't need to worry about hiring peasants for your army who are bright enough to remember to work the bolts after each shot. "...a photo album is like Life, but flat and stuck to pages." - Shog9

                          X 1 Reply Last reply
                          0
                          • R Roger Wright

                            Beginners All-purpose Symbolic Instruction Code (BASIC) was invented by two mathematicians at Dartmouth in 1963 as a teaching tool, not a programming language. It was never intended to be a real language, but served only to instruct raw beginners in the rudimentary functions necessary to make a computer do something more useful than warm the lab. It was simplified by MS by making it Visual, so that even greener tyros, not to mention the occasional manager, could figure it out well enough to make pretty dialog boxes. This is much like making rifles automatic, so that you don't need to worry about hiring peasants for your army who are bright enough to remember to work the bolts after each shot. "...a photo album is like Life, but flat and stuck to pages." - Shog9

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

                            Wikipedia: BASIC (Beginner's All-purpose Symbolic Instruction Code[1]) is a family of high-level programming languages. Originally invented in 1964 by John George Kemeny and Thomas Eugene Kurtz at Dartmouth College, it was designed to allow students not in science fields to use computers. At the time all computer use required writing custom software, which was something only scientists and mathematicians tended to do. It became widespread on home microcomputers in the 1980s, and remains popular to this day in a handful of heavily evolved dialects.

                            R 1 Reply Last reply
                            0
                            • X Xoy

                              Wikipedia: BASIC (Beginner's All-purpose Symbolic Instruction Code[1]) is a family of high-level programming languages. Originally invented in 1964 by John George Kemeny and Thomas Eugene Kurtz at Dartmouth College, it was designed to allow students not in science fields to use computers. At the time all computer use required writing custom software, which was something only scientists and mathematicians tended to do. It became widespread on home microcomputers in the 1980s, and remains popular to this day in a handful of heavily evolved dialects.

                              R Offline
                              R Offline
                              Roger Wright
                              wrote on last edited by
                              #85

                              10 DATA "I WILL NOT" 20 DATA "PROMOTE PROGRAMMING" 30 DATA "IN NON-LANGUAGES." 100 DIM A$[10], B$[19], C$[17] 110 DIM I 200 READ A$ 210 READ B$ 220 READ C$ 500 FOR I = 1 TO 100 510 LPRINT A$ + CHR(20) + B$ + CHR(20) + C$ 520 LPRINT CHR(09), CHR(10) 530 NEXT I 540 GOTO 999 600 REM YOUR HOMEWORK FOR TONIGHT 999 END >RUN Are you gonna believe Wikipedia, or someone who was there?;P Don't mind me - just stirring the pot...;) "...a photo album is like Life, but flat and stuck to pages." - Shog9

                              X 1 Reply Last reply
                              0
                              • J Jorgen Sigvardsson

                                Just proving your point. :)

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

                                :click: ahhhh! :rolleyes:


                                Some of us walk the memory lane, others plummet into a rabbit hole
                                Tree in C# || Fold With Us! || sighist

                                J 1 Reply Last reply
                                0
                                • P peterchen

                                  :click: ahhhh! :rolleyes:


                                  Some of us walk the memory lane, others plummet into a rabbit hole
                                  Tree in C# || Fold With Us! || sighist

                                  J Offline
                                  J Offline
                                  Jorgen Sigvardsson
                                  wrote on last edited by
                                  #87

                                  Enlightenment - something one never would achieve by programming VB. :-D

                                  X 1 Reply Last reply
                                  0
                                  • B bakerfishsticks

                                    Look VB is just a tool same as C++ and has its advantages and disadvantages. From a business stand point VB is great, you can get an app out very quickly without worring about about the little things. I think the people that complain about VB are the JAVA/C#/C++ coders because they think using these language makes them an engineer!! HA, C# which i code in and Java are 4gl languages and C++ is nothing more then a 3gl language and most of us only code for business software which really does not require c++ at all. Think about it if all businesses used c++ apps would never be on time. Thank god for java and .net and yes vb. If you want to feel like an engineer use assembly for microprocesser programming, create your own OS. But otherwiese just accept VB is a tool some people can use well and some just hack it up which is why we are here.

                                    P Offline
                                    P Offline
                                    Phil Harding
                                    wrote on last edited by
                                    #88

                                    bakerfishsticks wrote:

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

                                    Exactley why is C++ dificult to learn/use/develop applications in timely fashion? I've been using C++ for development of business solutions for the past 15 years or so, in my experience project overruns have always been caused by management politics, not late delivery by development teams. Software development is software development, just as the "clunkiness" of VB promotes bad development practices, the terseness of C++ promotes "code obfuscation" the likes of which can give even seasoned C++'ers the hairy gibbers :omg:, which is why most C++ developers try and write "sane" structured code. The fact is that VB is easy to understand and allows "non-programmers" to assemble relativly functional programs, in just the same way that non IT people would proudly declare that they programmed their "Access" system to do this that or the other. Phil Harding.
                                    myBlog [^] | mySite [^]

                                    1 Reply Last reply
                                    0
                                    • R Roger Wright

                                      I agree completely, whatever it is you meant to say.;P Watch the mail... a package should be along shortly. I tossed in TASM and TD, to boot, and if I find the manuals they'll be along shortly. Have fun!:-D "...a photo album is like Life, but flat and stuck to pages." - Shog9

                                      T Offline
                                      T Offline
                                      Tom Archer
                                      wrote on last edited by
                                      #89

                                      Thanks!!! :beer: :beer: :beer: Tom Archer (blog) Program Manager MSDN Online (Windows Vista and Visual C++) MICROSOFT

                                      1 Reply Last reply
                                      0
                                      • R Roger Wright

                                        10 DATA "I WILL NOT" 20 DATA "PROMOTE PROGRAMMING" 30 DATA "IN NON-LANGUAGES." 100 DIM A$[10], B$[19], C$[17] 110 DIM I 200 READ A$ 210 READ B$ 220 READ C$ 500 FOR I = 1 TO 100 510 LPRINT A$ + CHR(20) + B$ + CHR(20) + C$ 520 LPRINT CHR(09), CHR(10) 530 NEXT I 540 GOTO 999 600 REM YOUR HOMEWORK FOR TONIGHT 999 END >RUN Are you gonna believe Wikipedia, or someone who was there?;P Don't mind me - just stirring the pot...;) "...a photo album is like Life, but flat and stuck to pages." - Shog9

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

                                        Roger Wright wrote:

                                        10 DATA "I WILL NOT" 20 DATA "PROMOTE PROGRAMMING" 30 DATA "IN NON-LANGUAGES." 100 DIM A$[10], B$[19], C$[17] 110 DIM I 200 READ A$ 210 READ B$ 220 READ C$ 500 FOR I = 1 TO 100 510 LPRINT A$ + CHR(20) + B$ + CHR(20) + C$ 520 LPRINT CHR(09), CHR(10) 530 NEXT I 540 GOTO 999 600 REM YOUR HOMEWORK FOR TONIGHT 999 END >RUN

                                        :| This discussion is on vb... thats umm really old basic... :suss: quickbasic? I've programmed in dos... and basic can be/was quite a bit nicer than that ;P Stuff changes with time... new ideas, new solutions... basic has come a long way from then. If used properly, it can be a great tool... use the screwdriver to screw in the screws and the hammer to hammer in nails, not the other way around :P

                                        1 Reply Last reply
                                        0
                                        • J Jorgen Sigvardsson

                                          Enlightenment - something one never would achieve by programming VB. :-D

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

                                          With that mindset of course not ;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