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. Why newbies should pick C# over VB!

Why newbies should pick C# over VB!

Scheduled Pinned Locked Moved The Lounge
csharpphpcom
51 Posts 26 Posters 4 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.
  • H Henry Minute

    Slowly and sheepishly raises hand.

    Henry Minute Do not read medical books! You could die of a misprint. - Mark Twain Girl: (staring) "Why do you need an icy cucumber?" “I want to report a fraud. The government is lying to us all.” I wouldn't let CG touch my Abacus! When you're wrestling a gorilla, you don't stop when you're tired, you stop when the gorilla is.

    A Offline
    A Offline
    Abhinav S
    wrote on last edited by
    #8

    Henry Minute wrote:

    Slowly and sheepishly raises hand.

    Not confident enough to be able to raise hands, stares akwardly at the ground, wishing it would open up.

    The funniest thing about this particular signature is that by the time you realise it doesn't say anything it's too late to stop reading it. My latest tip/trick

    1 Reply Last reply
    0
    • H Henry Minute

      Slowly and sheepishly raises hand.

      Henry Minute Do not read medical books! You could die of a misprint. - Mark Twain Girl: (staring) "Why do you need an icy cucumber?" “I want to report a fraud. The government is lying to us all.” I wouldn't let CG touch my Abacus! When you're wrestling a gorilla, you don't stop when you're tired, you stop when the gorilla is.

      N Offline
      N Offline
      Nish Nishant
      wrote on last edited by
      #9

      Okay, there's two of us now - we need an union or at least a club now!

      Regards, Nish


      Latest article: Code Project Posts Analyzer for Windows Phone 7 My technology blog: voidnish.wordpress.com

      A 1 Reply Last reply
      0
      • R realJSOP

        It's a simple (and free) matter to convert from C# to VB... I answer some questions the way you described, not because I don't know the VB syntax, but becauise it's faster to provide the answer in terms of C# because that's just the way I think. Since .Net is .Net regardless of the language, and if the questioner wants to do the conversion work, the answer is there.

        ".45 ACP - because shooting twice is just silly" - JSOP, 2010
        -----
        You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
        -----
        "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

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

        It's generally trivial for an experienced dev to do the conversion; but newbies aren't experienced and generally don't know the available tools. Besides which, if it really was that easy, why don't you do it for them instead of making questionable assumptions about the noobs ability?

        3x12=36 2x12=24 1x12=12 0x12=18

        N R 2 Replies Last reply
        0
        • D Dan Neely

          It's generally trivial for an experienced dev to do the conversion; but newbies aren't experienced and generally don't know the available tools. Besides which, if it really was that easy, why don't you do it for them instead of making questionable assumptions about the noobs ability?

          3x12=36 2x12=24 1x12=12 0x12=18

          N Offline
          N Offline
          Nish Nishant
          wrote on last edited by
          #11

          Yeah, I agree. Many of the questions asked have solutions that are far easier to do than using an online converter (and I am fully serious here). It's unlikely that someone asking how to set the text of a child form from the parent will know how to use a converter, or if they use one, then unless the auto-conversion gives them perfectly copy/paste-able and compilable code, they'll struggle at using the converted code anyway.

          Regards, Nish


          Latest article: Code Project Posts Analyzer for Windows Phone 7 My technology blog: voidnish.wordpress.com

          1 Reply Last reply
          0
          • N Nish Nishant

            Here's a very good reason for newbies to use C# as opposed to VB.NET. When you ask questions in a forum, you'll find that there are more people answering questions who are familiar with C# than there are VB guys. And while this is potentially a controversial thing to say, the typical C# developer who's answering questions is bound to give better and more accurate answers than the typical VB developer. Note how I said typical - there are several bad C# devs answering questions too, although percentage wise, there are many more bad VB answerers. What prompted this post is that I've frequently seen VB questions taking longer to get answered because most of the guys answering there don't know VB syntax. Or sometimes the guy answering has to prefix his answer with, "I don't really know VB syntax, but in C# you can do it this way, and hopefully you can convert that to VB..."

            Regards, Nish


            Latest article: Code Project Posts Analyzer for Windows Phone 7 My technology blog: voidnish.wordpress.com

            I Offline
            I Offline
            Ian Shlasko
            wrote on last edited by
            #12

            True... I used to be primarily a VB developer, but once I moved to C# in the CLR 1.0 days, I never looked back. So I know the VB syntax, for the most part, but I moved to C# before I started using generics, and long before LINQ came along and added anonymous methods... So I still have to do a translation in my head when trying to describe anything complex.

            Proud to have finally moved to the A-Ark. Which one are you in?
            Author of the Guardians Saga (Sci-Fi/Fantasy novels)

            P 1 Reply Last reply
            0
            • D Dan Neely

              It's generally trivial for an experienced dev to do the conversion; but newbies aren't experienced and generally don't know the available tools. Besides which, if it really was that easy, why don't you do it for them instead of making questionable assumptions about the noobs ability?

              3x12=36 2x12=24 1x12=12 0x12=18

              R Offline
              R Offline
              realJSOP
              wrote on last edited by
              #13

              Dan Neely wrote:

              It's generally trivial for an experienced dev to do the conversion; but newbies aren't experienced and generally don't know the available tools. Besides which, if it really was that easy, why don't you do it for them

              Because I don't want to look like I'm advocating the continued use of VB.

              ".45 ACP - because shooting twice is just silly" - JSOP, 2010
              -----
              You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
              -----
              "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

              F P T 3 Replies Last reply
              0
              • N Nish Nishant

                Here's a very good reason for newbies to use C# as opposed to VB.NET. When you ask questions in a forum, you'll find that there are more people answering questions who are familiar with C# than there are VB guys. And while this is potentially a controversial thing to say, the typical C# developer who's answering questions is bound to give better and more accurate answers than the typical VB developer. Note how I said typical - there are several bad C# devs answering questions too, although percentage wise, there are many more bad VB answerers. What prompted this post is that I've frequently seen VB questions taking longer to get answered because most of the guys answering there don't know VB syntax. Or sometimes the guy answering has to prefix his answer with, "I don't really know VB syntax, but in C# you can do it this way, and hopefully you can convert that to VB..."

                Regards, Nish


                Latest article: Code Project Posts Analyzer for Windows Phone 7 My technology blog: voidnish.wordpress.com

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

                All differences in the languages aside (are there any ;P ), the main reason to pick C# for .NET development is that C# is the .NET language. All other languages may be dropped down the road, but C# will be alive as long as .NET is alive. BCL itself is written in C#, and Microsoft is using C# in some of its products (mostly servers). It is not going away. The same goes for Java on JVM. There are much nicer JVM languages than Java (Scala, Clojure, Fantom, ...) but Java is the JVM language and picking anything else for JVM development is an unnecessary risk.

                utf8-cpp

                N A A K 4 Replies Last reply
                0
                • N Nish Nishant

                  Okay, there's two of us now - we need an union or at least a club now!

                  Regards, Nish


                  Latest article: Code Project Posts Analyzer for Windows Phone 7 My technology blog: voidnish.wordpress.com

                  A Offline
                  A Offline
                  Abhinav S
                  wrote on last edited by
                  #15

                  See my post. Make it three.

                  The funniest thing about this particular signature is that by the time you realise it doesn't say anything it's too late to stop reading it. My latest tip/trick

                  N 1 Reply Last reply
                  0
                  • N Nemanja Trifunovic

                    All differences in the languages aside (are there any ;P ), the main reason to pick C# for .NET development is that C# is the .NET language. All other languages may be dropped down the road, but C# will be alive as long as .NET is alive. BCL itself is written in C#, and Microsoft is using C# in some of its products (mostly servers). It is not going away. The same goes for Java on JVM. There are much nicer JVM languages than Java (Scala, Clojure, Fantom, ...) but Java is the JVM language and picking anything else for JVM development is an unnecessary risk.

                    utf8-cpp

                    N Offline
                    N Offline
                    Nish Nishant
                    wrote on last edited by
                    #16

                    Agree, although I don't see VB going away in the next 6-7 years.

                    Regards, Nish


                    Latest article: Code Project Posts Analyzer for Windows Phone 7 My technology blog: voidnish.wordpress.com

                    L 1 Reply Last reply
                    0
                    • A Abhinav S

                      See my post. Make it three.

                      The funniest thing about this particular signature is that by the time you realise it doesn't say anything it's too late to stop reading it. My latest tip/trick

                      N Offline
                      N Offline
                      Nish Nishant
                      wrote on last edited by
                      #17

                      Wow, we are almost a registered organization now!

                      Regards, Nish


                      Latest article: Code Project Posts Analyzer for Windows Phone 7 My technology blog: voidnish.wordpress.com

                      1 Reply Last reply
                      0
                      • N Nemanja Trifunovic

                        All differences in the languages aside (are there any ;P ), the main reason to pick C# for .NET development is that C# is the .NET language. All other languages may be dropped down the road, but C# will be alive as long as .NET is alive. BCL itself is written in C#, and Microsoft is using C# in some of its products (mostly servers). It is not going away. The same goes for Java on JVM. There are much nicer JVM languages than Java (Scala, Clojure, Fantom, ...) but Java is the JVM language and picking anything else for JVM development is an unnecessary risk.

                        utf8-cpp

                        A Offline
                        A Offline
                        AspDotNetDev
                        wrote on last edited by
                        #18

                        Nemanja Trifunovic wrote:

                        BCL itself is written in C#

                        Really? How'd you find that out?

                        [WikiLeaks Cablegate Cables]

                        N 1 Reply Last reply
                        0
                        • A AspDotNetDev

                          Nemanja Trifunovic wrote:

                          BCL itself is written in C#

                          Really? How'd you find that out?

                          [WikiLeaks Cablegate Cables]

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

                          .NET Framework Libraries Available Source Code Components [^]

                          utf8-cpp

                          1 Reply Last reply
                          0
                          • N Nish Nishant

                            Here's a very good reason for newbies to use C# as opposed to VB.NET. When you ask questions in a forum, you'll find that there are more people answering questions who are familiar with C# than there are VB guys. And while this is potentially a controversial thing to say, the typical C# developer who's answering questions is bound to give better and more accurate answers than the typical VB developer. Note how I said typical - there are several bad C# devs answering questions too, although percentage wise, there are many more bad VB answerers. What prompted this post is that I've frequently seen VB questions taking longer to get answered because most of the guys answering there don't know VB syntax. Or sometimes the guy answering has to prefix his answer with, "I don't really know VB syntax, but in C# you can do it this way, and hopefully you can convert that to VB..."

                            Regards, Nish


                            Latest article: Code Project Posts Analyzer for Windows Phone 7 My technology blog: voidnish.wordpress.com

                            E Offline
                            E Offline
                            Eytukan
                            wrote on last edited by
                            #20

                            A more straight foward reason to avoid VB is, we should avoid VB.

                            Starting to think people post kid pics in their profiles because that was the last time they were cute - Jeremy.

                            L 1 Reply Last reply
                            0
                            • N Nish Nishant

                              Here's a very good reason for newbies to use C# as opposed to VB.NET. When you ask questions in a forum, you'll find that there are more people answering questions who are familiar with C# than there are VB guys. And while this is potentially a controversial thing to say, the typical C# developer who's answering questions is bound to give better and more accurate answers than the typical VB developer. Note how I said typical - there are several bad C# devs answering questions too, although percentage wise, there are many more bad VB answerers. What prompted this post is that I've frequently seen VB questions taking longer to get answered because most of the guys answering there don't know VB syntax. Or sometimes the guy answering has to prefix his answer with, "I don't really know VB syntax, but in C# you can do it this way, and hopefully you can convert that to VB..."

                              Regards, Nish


                              Latest article: Code Project Posts Analyzer for Windows Phone 7 My technology blog: voidnish.wordpress.com

                              D Offline
                              D Offline
                              DanielDyson
                              wrote on last edited by
                              #21

                              My main reson for recommending C# over VB is one of culture. When .NET first arrived those who went into C# tended to come from the advanced worlds of Java, Delphi and C++. Those who went to VB.NET tended to be those used to using VB. At the risk of offending some people, there were a lot of VB programmers who were inexperienced, not formally trained, or even informally trained for that matter. In a way that was what was great about VB. Anyone could do it. So you got bob the accountant upstairs hacking together a quick VB app, and I think my step mother threw something together in VB once. As I say. Anyone could do. This could not be said for C++, Java or Delphi. People from those worlds just tended to be more professional because they were generally professional programmers. So on the whole, VB programmers are unprofessional hackers and C# programmers are experienced, professional, seasoned coding gods. Who would you want to learn from?

                              K L A 3 Replies Last reply
                              0
                              • R realJSOP

                                Dan Neely wrote:

                                It's generally trivial for an experienced dev to do the conversion; but newbies aren't experienced and generally don't know the available tools. Besides which, if it really was that easy, why don't you do it for them

                                Because I don't want to look like I'm advocating the continued use of VB.

                                ".45 ACP - because shooting twice is just silly" - JSOP, 2010
                                -----
                                You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
                                -----
                                "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

                                F Offline
                                F Offline
                                Fabio Franco
                                wrote on last edited by
                                #22

                                Agreed!

                                1 Reply Last reply
                                0
                                • N Nish Nishant

                                  Here's a very good reason for newbies to use C# as opposed to VB.NET. When you ask questions in a forum, you'll find that there are more people answering questions who are familiar with C# than there are VB guys. And while this is potentially a controversial thing to say, the typical C# developer who's answering questions is bound to give better and more accurate answers than the typical VB developer. Note how I said typical - there are several bad C# devs answering questions too, although percentage wise, there are many more bad VB answerers. What prompted this post is that I've frequently seen VB questions taking longer to get answered because most of the guys answering there don't know VB syntax. Or sometimes the guy answering has to prefix his answer with, "I don't really know VB syntax, but in C# you can do it this way, and hopefully you can convert that to VB..."

                                  Regards, Nish


                                  Latest article: Code Project Posts Analyzer for Windows Phone 7 My technology blog: voidnish.wordpress.com

                                  F Offline
                                  F Offline
                                  Fabio Franco
                                  wrote on last edited by
                                  #23

                                  Another good reason is not to start with VB is because it makes more likely to develop bad habits and practices that are later hard to get rid of. I say this as my own experience.

                                  1 Reply Last reply
                                  0
                                  • N Nish Nishant

                                    Here's a very good reason for newbies to use C# as opposed to VB.NET. When you ask questions in a forum, you'll find that there are more people answering questions who are familiar with C# than there are VB guys. And while this is potentially a controversial thing to say, the typical C# developer who's answering questions is bound to give better and more accurate answers than the typical VB developer. Note how I said typical - there are several bad C# devs answering questions too, although percentage wise, there are many more bad VB answerers. What prompted this post is that I've frequently seen VB questions taking longer to get answered because most of the guys answering there don't know VB syntax. Or sometimes the guy answering has to prefix his answer with, "I don't really know VB syntax, but in C# you can do it this way, and hopefully you can convert that to VB..."

                                    Regards, Nish


                                    Latest article: Code Project Posts Analyzer for Windows Phone 7 My technology blog: voidnish.wordpress.com

                                    D Offline
                                    D Offline
                                    Dwayne J Baldwin
                                    wrote on last edited by
                                    #24

                                    Most likely because the vb.net folks have already been productive, completed their projects and are on vacation before deciding what to do next. Meanwhile, the C#ers are still searching for curly braces and brackets in their own code so many of you come out of the closet at a prearranged time to see how others manage. As with any new language either spoken or written you will find there is alwyas a learning curve before you can ask a reasonably good question that actually makes sense. Inexperience is far more noticeable by looking at thread lengths and source code comments. C#ers drag it out with recursive banter while vbers get it right the first time. Lastly, except for semicolons, C# comments can often be converted directly into vb code. Pure simplicity by design.

                                    Dwayne J. Baldwin

                                    1 Reply Last reply
                                    0
                                    • D DanielDyson

                                      My main reson for recommending C# over VB is one of culture. When .NET first arrived those who went into C# tended to come from the advanced worlds of Java, Delphi and C++. Those who went to VB.NET tended to be those used to using VB. At the risk of offending some people, there were a lot of VB programmers who were inexperienced, not formally trained, or even informally trained for that matter. In a way that was what was great about VB. Anyone could do it. So you got bob the accountant upstairs hacking together a quick VB app, and I think my step mother threw something together in VB once. As I say. Anyone could do. This could not be said for C++, Java or Delphi. People from those worlds just tended to be more professional because they were generally professional programmers. So on the whole, VB programmers are unprofessional hackers and C# programmers are experienced, professional, seasoned coding gods. Who would you want to learn from?

                                      K Offline
                                      K Offline
                                      KramII
                                      wrote on last edited by
                                      #25

                                      Both, actually... but a point well made nonetheless.

                                      KramII

                                      1 Reply Last reply
                                      0
                                      • N Nemanja Trifunovic

                                        All differences in the languages aside (are there any ;P ), the main reason to pick C# for .NET development is that C# is the .NET language. All other languages may be dropped down the road, but C# will be alive as long as .NET is alive. BCL itself is written in C#, and Microsoft is using C# in some of its products (mostly servers). It is not going away. The same goes for Java on JVM. There are much nicer JVM languages than Java (Scala, Clojure, Fantom, ...) but Java is the JVM language and picking anything else for JVM development is an unnecessary risk.

                                        utf8-cpp

                                        A Offline
                                        A Offline
                                        Alexander Melo 0
                                        wrote on last edited by
                                        #26

                                        Sorry my friend... But if I have to think that I shouldn't use something because it could be discontinued then I'll have to throw away my car, my laptop, my celphone, because all of them will be gone at some point. Anyway Microsoft will never drop VB because it's the languaje that they really created. All others are copies from Perl and Java. Most programers prefer using C# because it's different from Microsoft and it's possible to use it in UNIX enviroments. I know very well VB, C#, JAVA and some other languajes and that let me choice which is the best for each project. A newbie should start with VB because it's easier to learn adn understand. Then start learning C# and from there any other languaje will be a piece of cake. Remember that what matters for a good programer is the logics, not the languaje.

                                        1 Reply Last reply
                                        0
                                        • N Nish Nishant

                                          Here's a very good reason for newbies to use C# as opposed to VB.NET. When you ask questions in a forum, you'll find that there are more people answering questions who are familiar with C# than there are VB guys. And while this is potentially a controversial thing to say, the typical C# developer who's answering questions is bound to give better and more accurate answers than the typical VB developer. Note how I said typical - there are several bad C# devs answering questions too, although percentage wise, there are many more bad VB answerers. What prompted this post is that I've frequently seen VB questions taking longer to get answered because most of the guys answering there don't know VB syntax. Or sometimes the guy answering has to prefix his answer with, "I don't really know VB syntax, but in C# you can do it this way, and hopefully you can convert that to VB..."

                                          Regards, Nish


                                          Latest article: Code Project Posts Analyzer for Windows Phone 7 My technology blog: voidnish.wordpress.com

                                          S Offline
                                          S Offline
                                          Spectre_001
                                          wrote on last edited by
                                          #27

                                          I was a VB dev when 90% of the MSDN examples were in C++ (I translated the ones I needed to VB). Then .NET came along and MSDN did a paradigm shift and 90% of the MSDN examples were suddenly in C# (I translated the ones I needed to VB). Nowadays things are better for the VB guys, nearly all MSDN examples are in VB, C#, and C++. Just over a year ago I became a C# dev. I had learned it mostly through converting C# MSDN examples to VB (which I was working in at the time), and the new project I had been transferred to was in C#. The shift was, for me, pretty natural and comfortable. The syntax differences between VB and C# are relatively minimal. I do personally like the succinctness of the C# syntax (VB has a pretty verbose syntax). But what you need to realize from the perspective of a programming nOOb is that BASIC (Beginner's All-purpose Symbolic Instruction Code) was specifically designed (at Dartmouth College in 1964 - which makes it 7 years older than C) from the ground up as a tool for teaching the principles of computer programming to non-science/non-mathematics students (hence its verbose syntax). Remember that Microsoft's very first product, before Windows and MS-DOS, was BASIC. That being said, C++ was Microsoft's darling for years (following Pascal which they used to write the first versions of Windows - hence the pascal parameter passing convention which still survives in Windows APIs), when C# came along it became the new darling, and VB has been the red-headed stepchild. Early versions of VB in .NET were not quite as capable as C#. There were things (not many, but some) that you could do in C# that were significantly more difficult, if not impossible in VB. The early C# compiler even created more efficient MISL code than the VB compiler. Since Visual Studio 2005 all of that has changed. There is currently nothing that can be done in C# that can't also be done in VB, the compilers produce equivalent MISL, VB has finally become a full fledged member of the Microsoft development family (again). Although, at this point, I personally prefer C#, I believe that from the perspective of someone making their first foray into programming, you would be hard pressed to find a more suitable language than VB. Due to its verbose nature it is relatively easy to learn, it is currently as powerful as C#, and once the basics of good programming and principles of good design are learned, the transition to other languages (especially .NET ones) is relatively trivial.

                                          Kevin Rucker, Applic

                                          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