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. I haven't learned to hate VB

I haven't learned to hate VB

Scheduled Pinned Locked Moved The Lounge
44 Posts 22 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.
  • S Scott Barbour

    DonaldDuvall wrote:

    Imagine this in a more real example. some of our functions at work have 15 arguments and all the extra unneeded words clutter your code. There is no arguing that VB is structured as well as C#. Simply fact that it is to verbose for large projects.

    15 arguments to a function is excessive. Related arguments should be combined into structures to reduce the possibility for errors and to improve code readability. If the arguments are completely unrelated, your function is probably doing too many things and should be split up.

    I don't claim to be a know it all, for I know that I am not...

    I usually have an answer though.

    P Offline
    P Offline
    PIEBALDconsult
    wrote on last edited by
    #35

    Which is why C always had structures while BASIC only gained them much later.

    1 Reply Last reply
    0
    • M Michael Kingsford Gray

      What? VB.Net 2010 is designed from the ground up as a data-centric, *large* corporate business software development language! With tight integration into SQL Server technologies.

      P Offline
      P Offline
      PIEBALDconsult
      wrote on last edited by
      #36

      Michael K Gray wrote:

      With tight integration into SQL Server technologies.

      Why would I want that? I'm database agnostic. (Though I prefer SQL Server.)

      1 Reply Last reply
      0
      • D DidiKunz

        I don't know why all 'serious' programmer always blame VB. VB.NET is practicaly identical to C# exept the syntax. You can do everything in VB.NET what you can do in C#. There are stupid guys doning stupid things and asking stupid questions at Code Project, and they normaly don't program in C#, thats right. But that is not the fault of the language. There are lot of stipid people talking english, but no one blames the english language for it... Best regrads: Didi P.S. I program in VB.NET for many years now, and I am happy with it, and does not know why I should learn the cryptic C# syntax just to look serious...

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

        DidiKunz wrote:

        exept the syntax

        Which is exactly the problem.

        DidiKunz wrote:

        You can do everything in VB.NET what you can do in C#.

        Unsafe? Pinvoke? Casting? Break statements willy-nilly and put comments wherever you like?

        DidiKunz wrote:

        There are stupid guys doning stupid things and asking stupid questions at Code Project, and they normaly don't program in C#,

        No, we get our share in the C# forum. :sigh:

        1 Reply Last reply
        0
        • P PIEBALDconsult

          DonaldDuvall wrote:

          support for new lines in most cases without the use of the underscore

          Yeah, but they didn't do enough.

          D Offline
          D Offline
          DonaldDuvall
          wrote on last edited by
          #38

          Well, I don't really have anything to say besides: I like C# more than VB.Net. VB.Net is by far simpler for beginners to learn on their own, and far better than VB 6. In my opinion that is the usefulness of VB.Net. Now, I may be biased because I have to work with VB.Net everyday at work. But that aside I think C# is the perfect blend of a Verbose C based language. So, why would I even bother to use VB.Net. Plus, VB.Net allows programmers to have bad application structure. Modules? no good, why on earth do I want a Global (Public) Static Class that you don't need to reference to use? It is simply a bad idea in my opinion. I am working on several large applications and it just makes it difficult when a coworker starts putting functions in Modules to manipulate form's components (that should be in the form's class). I have a feeling this will be a never ending argument. So, I rest my case with this. Delphi Pascal OWNS all other languages so there. ;P But honestly, thanks for reading my posts and I hope that I don't offend anyone. I just don't like VB.Net so much.

          1 Reply Last reply
          0
          • P PIEBALDconsult

            Michael K Gray wrote:

            huge corporate projects

            No, I use it at work now; it's rubbish. X|

            M Offline
            M Offline
            Michael Kingsford Gray
            wrote on last edited by
            #39

            That's less competition for me! :)

            1 Reply Last reply
            0
            • C CT Buckweed

              Luckily, I haven't ever had to code in VB. That last coding I did in BASIC was GWBasic way back 25 years or so ago. line 10, 20 30.... goto 20, etc.

              R Offline
              R Offline
              Ravi Sant
              wrote on last edited by
              #40

              i hate VB if u r C, C# or Java Programmer, you will hate if told to work in VB

              I 1 Reply Last reply
              0
              • D DidiKunz

                I don't know why all 'serious' programmer always blame VB. VB.NET is practicaly identical to C# exept the syntax. You can do everything in VB.NET what you can do in C#. There are stupid guys doning stupid things and asking stupid questions at Code Project, and they normaly don't program in C#, thats right. But that is not the fault of the language. There are lot of stipid people talking english, but no one blames the english language for it... Best regrads: Didi P.S. I program in VB.NET for many years now, and I am happy with it, and does not know why I should learn the cryptic C# syntax just to look serious...

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

                I'm going to chime in here... and probably get flamed for it, which is why I never do. If you haven't played with VB since its inception, your attitude needs adjusting. Not that you are required to *like* it, just to stop relegating it to the sub-basement. There are a few minor things you can do in C# that I can't do in VB (or at least, not without some severe coding), but MOST of that is in some newer areas (i.e., coded workflows... read-only properties can be written to in C#, the VB compiler complains.. but there is a work-around)- and microsoft has heard all the complaints about 'real programmers' not using VB, so neglected those of us who have no choice. This is bad. let the flames begin

                1 Reply Last reply
                0
                • G Gary R Wheeler

                  Walt Fair, Jr. wrote:

                  next

                  How nice of you to use a keyword they'd recognize :rolleyes:.

                  Software Zen: delete this;
                  Fold With Us![^]

                  I Offline
                  I Offline
                  ilovecashmere
                  wrote on last edited by
                  #42

                  hilarious. you can tell how long it's been. since i had to go back and foreach post reread the context of the next statement. if only there was a goto for ref =) ;)

                  1 Reply Last reply
                  0
                  • D DidiKunz

                    I don't know why all 'serious' programmer always blame VB. VB.NET is practicaly identical to C# exept the syntax. You can do everything in VB.NET what you can do in C#. There are stupid guys doning stupid things and asking stupid questions at Code Project, and they normaly don't program in C#, thats right. But that is not the fault of the language. There are lot of stipid people talking english, but no one blames the english language for it... Best regrads: Didi P.S. I program in VB.NET for many years now, and I am happy with it, and does not know why I should learn the cryptic C# syntax just to look serious...

                    I Offline
                    I Offline
                    ilovecashmere
                    wrote on last edited by
                    #43

                    prolly because it's such a standard. who doesn't love generics and linq? and can we get some stronger types over here?

                    1 Reply Last reply
                    0
                    • R Ravi Sant

                      i hate VB if u r C, C# or Java Programmer, you will hate if told to work in VB

                      I Offline
                      I Offline
                      ilovecashmere
                      wrote on last edited by
                      #44

                      typically i feel like reading the code and rewriting it in c# before i'll acknowledge its existence

                      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