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.
  • OriginalGriffO OriginalGriff

    Oi! No confusing the faithful with facts - that's cheating! :laugh:

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

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

    Trust me, Here is proof: PROOF Best Wishes, -David Delaune

    OriginalGriffO Sander RosselS 2 Replies Last reply
    0
    • L Lost User

      Trust me, Here is proof: PROOF Best Wishes, -David Delaune

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

      Your proof is overwhelming: how could any man of reason fail to be convinced? :-D

      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

      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/

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

        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 1 Reply Last reply
        0
        • R Ravi Bhavnani

          An alternative viewpoint: 14 most popular programming languages according to Stack Overflow study[^] /ravi

          My new year resolution: 2048 x 1536 Home | Articles | My .NET bits | Freeware ravib(at)ravib(dot)com

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

          Like every other "study" it had an agenda to push the statistical results they wanted to emphasize.

          ".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
          -----
          When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

          U 1 Reply Last reply
          0
          • OriginalGriffO OriginalGriff

            georani wrote:

            Visual Basic.NET is a great programming language

            Nothing which includes

            On Error Resume Next

            Can be described as great, or even as a programming language.

            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
            #23

            Quote:

            On Error Resume Next

            There is no this kind of code in VB NET. Study more.

            Try

                x = x \\ y
                MessageBox.Show("end of Try block")
            
            Catch ex As Exception
                MessageBox.Show(ex.Message)
                MessageBox.Show("Stack Trace: " & vbCrLf & ex.StackTrace)
            
            Finally
                MessageBox.Show("in Finally block")
            End Try
            
            OriginalGriffO 1 Reply Last reply
            0
            • G georani

              Quote:

              On Error Resume Next

              There is no this kind of code in VB NET. Study more.

              Try

                  x = x \\ y
                  MessageBox.Show("end of Try block")
              
              Catch ex As Exception
                  MessageBox.Show(ex.Message)
                  MessageBox.Show("Stack Trace: " & vbCrLf & ex.StackTrace)
              
              Finally
                  MessageBox.Show("in Finally block")
              End Try
              
              OriginalGriffO Offline
              OriginalGriffO Offline
              OriginalGriff
              wrote on last edited by
              #24

              Rather than going with an opinion, I'd suggest that you check the facts instead:

              Module Module1

              Sub Main()
                  On Error Resume Next
              
                  Console.WriteLine("Hello World!")
                  Console.ReadLine()
              End Sub
              

              End Module

              Just because Try...Catch blocks are there, doesn't mean the old ways aren't. But then, facts never mean anything to the faithful, do they?

              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

                Rather than going with an opinion, I'd suggest that you check the facts instead:

                Module Module1

                Sub Main()
                    On Error Resume Next
                
                    Console.WriteLine("Hello World!")
                    Console.ReadLine()
                End Sub
                

                End Module

                Just because Try...Catch blocks are there, doesn't mean the old ways aren't. But then, facts never mean anything to the faithful, do they?

                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
                #25

                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 1 Reply Last reply
                0
                • 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
                                          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