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. Visual Basic.NET Exceeded C# Popularity in TIOBE in July 2018

Visual Basic.NET Exceeded C# Popularity in TIOBE in July 2018

Scheduled Pinned Locked Moved The Lounge
csharpdatabasecom
88 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.
  • L Lost User

    georani wrote:

    but more fun and readable to program with

    :omg:

    G Offline
    G Offline
    georani
    wrote on last edited by
    #26

    Yes fun e readable. Please compare this VB.NET code:

    Public Class MyClass1
    Public Property Mynumber As Integer = 3
    End Class

    With This C# equivalent

    public class MyClass1
    {
    public int Mynumber {get; set;} = 3;
    }

    I Think VB.NET is more readable and fun.

    L OriginalGriffO 2 Replies Last reply
    0
    • G georani

      OK, C# has GOTO, and now?

      for (int i = 0; i < x; i++)
      {
      for (int j = 0; j < y; j++)
      {
      if (array[i, j].Equals(myNumber))
      {
      goto Found;
      }
      }
      }

          Console.WriteLine("The number {0} was not found.", myNumber);
          goto Finish;
      
      Found:
          Console.WriteLine("The number {0} is found.", myNumber);
      
      Finish:
          Console.WriteLine("End of search.");
      
      OriginalGriffO Offline
      OriginalGriffO Offline
      OriginalGriff
      wrote on last edited by
      #27

      And VB doesn't? Yes it does have goto - because there are occasions when you need it. But outside a student's homework submitted to a lazy teacher I've not seen - let alone used - goto once in the "real world". Face it: VB is based on a language designed for people who can't code, don't want to code, and have no interest in quality. It still has those early days buried deep in it's fabric: the On Error rubbish, the weak typing, the lack of need to declare anything. Those aren't strengths, they are contributing factors to poor maintainability which are designed right into the language. That's why C# is the way it is: it encourages the production of more robust and understandable code. Yes, you can produce good code in VB - but you have to treat it more like C# to do it and do all the work yourself!

      Sent from my Amstrad PC 1640 Bad command or file name. Bad, bad command! Sit! Stay! Staaaay... AntiTwitter: @DalekDave is now a follower!

      "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
      "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

      G 1 Reply Last reply
      0
      • G georani

        Visual Basic.NET is a great programming language, so powerful as C#, but more fun and readable to program with it. So finally after so many years VB.NET has surpassed C# in TIOBE Index (July 2018) See Picture Here (July 2018) www.tiobe.com/tiobe-index/

        R Offline
        R Offline
        Rajesh R Subramanian
        wrote on last edited by
        #28

        Thank you for reinforcing my belief that TIOBE INDEX doesn't mean squat all.

        1 Reply Last reply
        0
        • G georani

          Yes fun e readable. Please compare this VB.NET code:

          Public Class MyClass1
          Public Property Mynumber As Integer = 3
          End Class

          With This C# equivalent

          public class MyClass1
          {
          public int Mynumber {get; set;} = 3;
          }

          I Think VB.NET is more readable and fun.

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #29

          georani wrote:

          I Think VB.NET is more readable and fun.

          And I am sure there are many more who agree. But if you learned C# first then you would (as I do) hold the complete opposite view. And as in all such surveys, the actual results are generally totally meaningless and useless.

          1 Reply Last reply
          0
          • G georani

            Visual Basic.NET is a great programming language, so powerful as C#, but more fun and readable to program with it. So finally after so many years VB.NET has surpassed C# in TIOBE Index (July 2018) See Picture Here (July 2018) www.tiobe.com/tiobe-index/

            K Offline
            K Offline
            kmoorevs
            wrote on last edited by
            #30

            You are a brave soul, starting a flame war here where everybody knows that VB in any form is despised. Those who practice this black art should be ridiculed and burned at the stake! :laugh: However, I did take the time to check the link and see that the study and results make no claim about which language is best. Looking at the results, I'd guess that these are the languages that are most popular for CS students. That said, I actually agree the VB.NET is a great programming language, but as you've seen, not that well regarded here at CP albeit for some dubious reasons.

            "Go forth into the source" - Neal Morse

            G C 2 Replies Last reply
            0
            • G georani

              Yes fun e readable. Please compare this VB.NET code:

              Public Class MyClass1
              Public Property Mynumber As Integer = 3
              End Class

              With This C# equivalent

              public class MyClass1
              {
              public int Mynumber {get; set;} = 3;
              }

              I Think VB.NET is more readable and fun.

              OriginalGriffO Offline
              OriginalGriffO Offline
              OriginalGriff
              wrote on last edited by
              #31

              Now write the VB equivalent of this C#

              public class MyClass1
              {
              public int Mynumber {get; private set;} = 3;
              }

              Sent from my Amstrad PC 1640 Bad command or file name. Bad, bad command! Sit! Stay! Staaaay... AntiTwitter: @DalekDave is now a follower!

              "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
              "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

              G 1 Reply Last reply
              0
              • OriginalGriffO OriginalGriff

                And VB doesn't? Yes it does have goto - because there are occasions when you need it. But outside a student's homework submitted to a lazy teacher I've not seen - let alone used - goto once in the "real world". Face it: VB is based on a language designed for people who can't code, don't want to code, and have no interest in quality. It still has those early days buried deep in it's fabric: the On Error rubbish, the weak typing, the lack of need to declare anything. Those aren't strengths, they are contributing factors to poor maintainability which are designed right into the language. That's why C# is the way it is: it encourages the production of more robust and understandable code. Yes, you can produce good code in VB - but you have to treat it more like C# to do it and do all the work yourself!

                Sent from my Amstrad PC 1640 Bad command or file name. Bad, bad command! Sit! Stay! Staaaay... AntiTwitter: @DalekDave is now a follower!

                G Offline
                G Offline
                georani
                wrote on last edited by
                #32

                Quote:

                Face it: VB is based on a language designed for people who can't code, don't want to code, and have no interest in quality. It still has those early days buried deep in it's fabric: the On Error rubbish, the weak typing, the lack of need to declare anything.

                False assertion, you can produce bad or good code in VB.NET or C #, the choice is yours.

                Quote:

                the weak typing, the lack of need to declare anything.

                False assertion, you just use

                Option Strict On

                at start of your VB.NET code. Study more, please, did you heard about Python?

                Sander RosselS N 2 Replies Last reply
                0
                • OriginalGriffO OriginalGriff

                  Now write the VB equivalent of this C#

                  public class MyClass1
                  {
                  public int Mynumber {get; private set;} = 3;
                  }

                  Sent from my Amstrad PC 1640 Bad command or file name. Bad, bad command! Sit! Stay! Staaaay... AntiTwitter: @DalekDave is now a follower!

                  G Offline
                  G Offline
                  georani
                  wrote on last edited by
                  #33

                  Done:

                  Public Class MyClass1
                      Private \_Mynumber As Integer = 3
                  
                      Public Property Mynumber() As Integer
                          Get
                              Return \_Mynumber
                          End Get
                          Private Set(value As Integer)
                              \_Mynumber = value
                          End Set
                      End Property
                  End Class
                  

                  This C# equivalent:

                  public class MyClass1
                  {
                  public int Mynumber {get; private set;} = 3;
                  }

                  It's shorter, but not fun or more readable.

                  OriginalGriffO 1 Reply Last reply
                  0
                  • K kmoorevs

                    You are a brave soul, starting a flame war here where everybody knows that VB in any form is despised. Those who practice this black art should be ridiculed and burned at the stake! :laugh: However, I did take the time to check the link and see that the study and results make no claim about which language is best. Looking at the results, I'd guess that these are the languages that are most popular for CS students. That said, I actually agree the VB.NET is a great programming language, but as you've seen, not that well regarded here at CP albeit for some dubious reasons.

                    "Go forth into the source" - Neal Morse

                    G Offline
                    G Offline
                    georani
                    wrote on last edited by
                    #34

                    Quote:

                    I did take the time to check the link and see that the study and results make no claim about which language is the best.

                    Check that link again ant the title also, it is not about which is best, it is about popularity.

                    K D 2 Replies Last reply
                    0
                    • G georani

                      Done:

                      Public Class MyClass1
                          Private \_Mynumber As Integer = 3
                      
                          Public Property Mynumber() As Integer
                              Get
                                  Return \_Mynumber
                              End Get
                              Private Set(value As Integer)
                                  \_Mynumber = value
                              End Set
                          End Property
                      End Class
                      

                      This C# equivalent:

                      public class MyClass1
                      {
                      public int Mynumber {get; private set;} = 3;
                      }

                      It's shorter, but not fun or more readable.

                      OriginalGriffO Offline
                      OriginalGriffO Offline
                      OriginalGriff
                      wrote on last edited by
                      #35

                      georani wrote:

                      not fun or more readable.

                      Who are you trying to kid? Yourself? :laugh:

                      Sent from my Amstrad PC 1640 Bad command or file name. Bad, bad command! Sit! Stay! Staaaay... AntiTwitter: @DalekDave is now a follower!

                      "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
                      "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

                      G 1 Reply Last reply
                      0
                      • L Lost User

                        georani wrote:

                        so powerful as C#, but more fun and readable to program with it.

                        C# is a cleaned up version of VB. "Fun" you say. I say there's a lot of hobbyists. Aaaw, the fun of cleaning up after them - so much, I regularly refuse to :thumbsup:

                        Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^] "If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.

                        G Offline
                        G Offline
                        georani
                        wrote on last edited by
                        #36

                        Quote:

                        C# is a cleaned up version of VB.

                        No, it is not, C# comes from The Delphi creator Anders Hejlsberg (Click to see Wikipedia article)

                        Quote:

                        "Fun" you say. I say there's a lot of hobbyists.

                        There are a lot of commercial and industrial software made with VB.NET

                        L B 2 Replies Last reply
                        0
                        • G georani

                          Quote:

                          I did take the time to check the link and see that the study and results make no claim about which language is the best.

                          Check that link again ant the title also, it is not about which is best, it is about popularity.

                          K Offline
                          K Offline
                          kmoorevs
                          wrote on last edited by
                          #37

                          I know how to read. :) I was agreeing with you.

                          georani wrote:

                          I did take the time to check the link and see that the study and results make no claim about which language is best.

                          georani wrote:

                          Check that link again ant the title also, it is not about which is best, it is about popularity.

                          You see how we kinda said the same thing there?

                          "Go forth into the source" - Neal Morse

                          1 Reply Last reply
                          0
                          • OriginalGriffO OriginalGriff

                            georani wrote:

                            not fun or more readable.

                            Who are you trying to kid? Yourself? :laugh:

                            Sent from my Amstrad PC 1640 Bad command or file name. Bad, bad command! Sit! Stay! Staaaay... AntiTwitter: @DalekDave is now a follower!

                            G Offline
                            G Offline
                            georani
                            wrote on last edited by
                            #38

                            Quote:

                            Who are you trying to kid? Yourself?

                            I Think this: This code:

                            Public Property Mynumber() As Integer
                            Get
                            Return _Mynumber
                            End Get
                            Private Set(value As Integer)
                            _Mynumber = value
                            End Set
                            End Property

                            Is more readable and more safe than this shorter and equivalent C# code:

                            public int Mynumber {get; private set;} = 3;

                            If you read fast, you can make mistakes when reading this C# code, and anyone can understand VB version, even non programmers, but if you are not a C# programmer what the hell is "{get; private set;} = 3"?

                            OriginalGriffO 1 Reply Last reply
                            0
                            • G georani

                              Quote:

                              C# is a cleaned up version of VB.

                              No, it is not, C# comes from The Delphi creator Anders Hejlsberg (Click to see Wikipedia article)

                              Quote:

                              "Fun" you say. I say there's a lot of hobbyists.

                              There are a lot of commercial and industrial software made with VB.NET

                              L Offline
                              L Offline
                              Lost User
                              wrote on last edited by
                              #39

                              georani wrote:

                              No, it is not, C# comes from The Delphi creator Anders Hejlsberg (Click to see Wikipedia article)

                              Which could be translated by search and replace into VB.NET; built on the newer VB runtime. Instead of running P-code, we now have the .NET runtime.

                              georani wrote:

                              There are a lot of commercial and industrial software made with VB.NET

                              Yes, by "professional beginners" :D

                              Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^] "If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.

                              G 1 Reply Last reply
                              0
                              • L Lost User

                                georani wrote:

                                No, it is not, C# comes from The Delphi creator Anders Hejlsberg (Click to see Wikipedia article)

                                Which could be translated by search and replace into VB.NET; built on the newer VB runtime. Instead of running P-code, we now have the .NET runtime.

                                georani wrote:

                                There are a lot of commercial and industrial software made with VB.NET

                                Yes, by "professional beginners" :D

                                Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^] "If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.

                                G Offline
                                G Offline
                                georani
                                wrote on last edited by
                                #40

                                Quote:

                                Which could be translated by search and replace into VB.NET; built on the newer VB runtime. Instead of running P-code, we now have the .NET runtime.

                                False! False assertion, study more, do some research, try Wikipedia. VB is an old language, VB.NET is another and newer language completely different, you cannot compile OLD VB code to .NET, but you can easily convert VB.NET code to C# code or vice versa, they have similar structure.

                                L 1 Reply Last reply
                                0
                                • G georani

                                  Quote:

                                  Who are you trying to kid? Yourself?

                                  I Think this: This code:

                                  Public Property Mynumber() As Integer
                                  Get
                                  Return _Mynumber
                                  End Get
                                  Private Set(value As Integer)
                                  _Mynumber = value
                                  End Set
                                  End Property

                                  Is more readable and more safe than this shorter and equivalent C# code:

                                  public int Mynumber {get; private set;} = 3;

                                  If you read fast, you can make mistakes when reading this C# code, and anyone can understand VB version, even non programmers, but if you are not a C# programmer what the hell is "{get; private set;} = 3"?

                                  OriginalGriffO Offline
                                  OriginalGriffO Offline
                                  OriginalGriff
                                  wrote on last edited by
                                  #41

                                  You're getting pretty desperate now...

                                  Sent from my Amstrad PC 1640 Bad command or file name. Bad, bad command! Sit! Stay! Staaaay... AntiTwitter: @DalekDave is now a follower!

                                  "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
                                  "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

                                  A 1 Reply Last reply
                                  0
                                  • G georani

                                    Quote:

                                    I did take the time to check the link and see that the study and results make no claim about which language is the best.

                                    Check that link again ant the title also, it is not about which is best, it is about popularity.

                                    D Offline
                                    D Offline
                                    Dave Kreskowiak
                                    wrote on last edited by
                                    #42

                                    According to TIOBE's own methodology description, it's about the number of hits returned by a very specific search query, NOT THE ACTUAL USE OF THE LANGUAGE. They go through a bunch of search engines and type +"_language_ programming" into the engine, then grab the "number of results returned". That is an ARBITRARY thing to search for. For example, on Google.com, the following results are turned:

                                    +"C# programming"        ~  7,250,000 results
                                    +"VB.NET programming"    ~    228,000 results
                                    
                                    +"C#"                    ~111,000,000 results
                                    +"VB.NET"                ~ 24,800,000 results
                                    

                                    The number of hits returned is just a number of pages that mention the search terms. That's all. The pages can be anything, including the documentation from MSDN, forum post questions, answers, complaints, "do my homework for me", resumes, job postings, ... ANYTHING. It is is NO WAY a representation of the "use popularity" of the languages, only their mentions in web pages.

                                    Asking questions is a skill CodeProject Forum Guidelines Google: C# How to debug code Seriously, go read these articles.
                                    Dave Kreskowiak

                                    G P 2 Replies Last reply
                                    0
                                    • K kmoorevs

                                      You are a brave soul, starting a flame war here where everybody knows that VB in any form is despised. Those who practice this black art should be ridiculed and burned at the stake! :laugh: However, I did take the time to check the link and see that the study and results make no claim about which language is best. Looking at the results, I'd guess that these are the languages that are most popular for CS students. That said, I actually agree the VB.NET is a great programming language, but as you've seen, not that well regarded here at CP albeit for some dubious reasons.

                                      "Go forth into the source" - Neal Morse

                                      C Offline
                                      C Offline
                                      CodeWraith
                                      wrote on last edited by
                                      #43

                                      kmoorevs wrote:

                                      albeit for some dubious reasons.

                                      You mean to say it's dubious that it's redundant?

                                      I have lived with several Zen masters - all of them were cats. His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.

                                      K 1 Reply Last reply
                                      0
                                      • D Dave Kreskowiak

                                        According to TIOBE's own methodology description, it's about the number of hits returned by a very specific search query, NOT THE ACTUAL USE OF THE LANGUAGE. They go through a bunch of search engines and type +"_language_ programming" into the engine, then grab the "number of results returned". That is an ARBITRARY thing to search for. For example, on Google.com, the following results are turned:

                                        +"C# programming"        ~  7,250,000 results
                                        +"VB.NET programming"    ~    228,000 results
                                        
                                        +"C#"                    ~111,000,000 results
                                        +"VB.NET"                ~ 24,800,000 results
                                        

                                        The number of hits returned is just a number of pages that mention the search terms. That's all. The pages can be anything, including the documentation from MSDN, forum post questions, answers, complaints, "do my homework for me", resumes, job postings, ... ANYTHING. It is is NO WAY a representation of the "use popularity" of the languages, only their mentions in web pages.

                                        Asking questions is a skill CodeProject Forum Guidelines Google: C# How to debug code Seriously, go read these articles.
                                        Dave Kreskowiak

                                        G Offline
                                        G Offline
                                        georani
                                        wrote on last edited by
                                        #44

                                        Quote:

                                        According to TIOBE's own methodology description, it's about the number of hits returned by a very specific search query,

                                        25 Search Engines, click to see: TIOBE Programming Community Index Definition

                                        Quote:

                                        It is is NO WAY a representation of the "use popularity" of the languages, only their mentions in web pages.

                                        So, read this excerpt from this page: Tiobe Index - Click To See

                                        Quote:

                                        The TIOBE Programming Community index is an indicator of the popularity of programming languages. The index is updated once a month. The ratings are based on the number of skilled engineers world-wide, courses and third party vendors. Popular search engines such as Google, Bing, Yahoo!, Wikipedia, Amazon, YouTube and Baidu are used to calculate the ratings. It is important to note that the TIOBE index is not about the best programming language or the language in which most lines of code have been written. The index can be used to check whether your programming skills are still up to date or to make a strategic decision about what programming language should be adopted when starting to build a new software system.

                                        D 1 Reply Last reply
                                        0
                                        • C CodeWraith

                                          kmoorevs wrote:

                                          albeit for some dubious reasons.

                                          You mean to say it's dubious that it's redundant?

                                          I have lived with several Zen masters - all of them were cats. His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.

                                          K Offline
                                          K Offline
                                          kmoorevs
                                          wrote on last edited by
                                          #45

                                          Is this rhetorical? [Edit] Actually, I meant dubious as in questionable. For instance by the responses in this thread I should avoid VB.NET for these reasons: 0: It's possible to throw in the old 'On Error Resume Next'. :laugh: Not that I have to, but OK. 1: It's commonly used by hobbyists/beginners. 2: Someone else wrote some crappy code with it. 3: The cool kids don't use it. It's not about being cool, it's about being productive/generating $. Thanks to Dave K. for doing his own testing which clearly dispute the OP's claim as it seems the survey results are 'dubious'. I had a feeling when this thread showed up yesterday what it would turn into...at least it stirred things up a little for the weekend! :)

                                          "Go forth into the source" - Neal Morse

                                          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