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. (Again) Visual Basic.NET Exceeded C# Popularity in TIOBE in October 2018 And it is Raising

(Again) Visual Basic.NET Exceeded C# Popularity in TIOBE in October 2018 And it is Raising

Scheduled Pinned Locked Moved The Lounge
csharpjavascriptswifthtml
77 Posts 29 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.
  • Kornfeld Eliyahu PeterK Kornfeld Eliyahu Peter

    Lexical part of the language is not all makes it a language... Try this in English:

    Tavon a lúd átúsz, visszaúsz meg átúsz.

    "The greatest enemy of knowledge is not ignorance, it is the illusion of knowledge". Stephen Hawking, 1942- 2018

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

    Please, see this hypothetical and valid VB.NET code:

    'VB.NET code
    Select Case L1
    Case Is < 50
    If L1 = 42 Then

                    For x = 0 To 100
                        For y = 0 To 100
                            For z = 0 To 100
                                L1 = DoSomethingWithL(x,y,z,L)
                                If L1 = 2 Then L1 += 1 Else L1 = 0                             
                            Next z
                        Next y
                    Next x
                End If
    
            Case Is > 390
                L1 = 0
            Case Is = 70
                L1 = 32
    

    End Select

    Now compare with the only way to do the same thing in C#:

    // C# code with "Curly Braces Hell"

    if (L1 < 50)
    {
    	if (L1 == 42)
    	{
    
    		for (var x = 0; x <= 100; x++)
    		{
    			for (var y = 0; y <= 100; y++)
    			{
    				for (var z = 0; z <= 100; z++)
    				{
                        L1 = DoSomethingWithL(x,y,z,L);
    					if (L1 == 2)
    					{
    						L1 += 1;
    					}
    					else
    					{
    						L1 = 0;
    					}  
    				}
    			}
    		}
    	}
    }
    
    else if (L1 > 390)
    {
    	L1 = 0;
    }
    
    else if (L1 == 70)
    {
    	L1 = 32;
    }
    

    Which is more readable and fun? Do you prefer "Curly Braces Hell"?

    Kornfeld Eliyahu PeterK A 2 Replies Last reply
    0
    • G georani

      Please, see this hypothetical and valid VB.NET code:

      'VB.NET code
      Select Case L1
      Case Is < 50
      If L1 = 42 Then

                      For x = 0 To 100
                          For y = 0 To 100
                              For z = 0 To 100
                                  L1 = DoSomethingWithL(x,y,z,L)
                                  If L1 = 2 Then L1 += 1 Else L1 = 0                             
                              Next z
                          Next y
                      Next x
                  End If
      
              Case Is > 390
                  L1 = 0
              Case Is = 70
                  L1 = 32
      

      End Select

      Now compare with the only way to do the same thing in C#:

      // C# code with "Curly Braces Hell"

      if (L1 < 50)
      {
      	if (L1 == 42)
      	{
      
      		for (var x = 0; x <= 100; x++)
      		{
      			for (var y = 0; y <= 100; y++)
      			{
      				for (var z = 0; z <= 100; z++)
      				{
                          L1 = DoSomethingWithL(x,y,z,L);
      					if (L1 == 2)
      					{
      						L1 += 1;
      					}
      					else
      					{
      						L1 = 0;
      					}  
      				}
      			}
      		}
      	}
      }
      
      else if (L1 > 390)
      {
      	L1 = 0;
      }
      
      else if (L1 == 70)
      {
      	L1 = 32;
      }
      

      Which is more readable and fun? Do you prefer "Curly Braces Hell"?

      Kornfeld Eliyahu PeterK Offline
      Kornfeld Eliyahu PeterK Offline
      Kornfeld Eliyahu Peter
      wrote on last edited by
      #31

      I would say that such highly hypothetical code has nothing to do with nothing... I also would say that you do not know how to write efficient code in C#, if you think you have to add all those brackets, or that this is the only way to write it... You also totally drop the factor of experience... C# can be done in different ways, and be still perfectly readable for the experienced... (L1 = (L1 == 42 || (L1 > 390)) ? L1 = 0 : (L1 == 70) ? L1 = 32 : L1;)

      "The greatest enemy of knowledge is not ignorance, it is the illusion of knowledge". Stephen Hawking, 1942- 2018

      "It never ceases to amaze me that a spacecraft launched in 1977 can be fixed remotely from Earth." ― Brian Cox

      G L 2 Replies Last reply
      0
      • Kornfeld Eliyahu PeterK Kornfeld Eliyahu Peter

        I would say that such highly hypothetical code has nothing to do with nothing... I also would say that you do not know how to write efficient code in C#, if you think you have to add all those brackets, or that this is the only way to write it... You also totally drop the factor of experience... C# can be done in different ways, and be still perfectly readable for the experienced... (L1 = (L1 == 42 || (L1 > 390)) ? L1 = 0 : (L1 == 70) ? L1 = 32 : L1;)

        "The greatest enemy of knowledge is not ignorance, it is the illusion of knowledge". Stephen Hawking, 1942- 2018

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

        Kornfeld Eliyahu Peter wrote:

        I would say that such highly hypothetical code has nothing to do with nothing...

        Yes, it is an highly hypothetical and compilable code and randomly typed in Visual Studio. I did it just to show my point.

        Kornfeld Eliyahu Peter wrote:

        (L1 = (L1 == 42 || (L1 > 390)) ? L1 = 0 : (L1 == 70) ? L1 = 32 : L1;)

        This C# code you made is not similar to that one, I have edit it and added only one line inside "for" block:

        //C# code added
        DoSomethingWithL(x,y,z,L);

        Please, try again with this new code.

        M 1 Reply Last reply
        0
        • L Lost User

          georani wrote:

          It is a lie, You're confounding Classic VB (1998, 20 years old language) with VB.NET (an C# equivalent language).

          No, I'm not. Saying that VB.NET s a C# equivalent is nonsense; they target the same runtime, but so does managed C++. No one in their right mind would compare VB to C++, calling them equivalent. It implies that you could take a VB.NET programmer and drop him/her in an "equivalent" environment. You can't :thumbsup:

          georani wrote:

          I did it, I have found not articles about 50% of VB.NET projects fails, again you are lying.

          I could offer help, but I'm weirdly enough not in a helpfull mood :)

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

          Eddy Vluggen wrote:

          Saying that VB.NET s a C# equivalent is nonsense;

          Really? So, please see this, click: VB.NET and C# Comparison (2016)[^]

          Eddy Vluggen wrote:

          I could offer help, but I'm weirdly enough not in a helpfull mood

          Is your bad mood because you got caught up in a lie?

          L 1 Reply Last reply
          0
          • G georani

            Eddy Vluggen wrote:

            Saying that VB.NET s a C# equivalent is nonsense;

            Really? So, please see this, click: VB.NET and C# Comparison (2016)[^]

            Eddy Vluggen wrote:

            I could offer help, but I'm weirdly enough not in a helpfull mood

            Is your bad mood because you got caught up in a lie?

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

            georani wrote:

            Really? So, please see this, click: VB.NET and C# Comparison (2016)[^]

            A comparison does not make an equivalent.

            georani wrote:

            Is your bad mood because you got caught up in a lie?

            No, because I'm accused of lying by some over-emotional twat who has trouble understanding English. :)

            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.

            1 Reply Last reply
            0
            • G georani

              Minion no. 5 wrote:

              Popular with non-programmers.

              C# language is at the #6 position in that index, Java #1, Python #4... they are not programmers? Tiobe Index is the most popular comparator of programming languages on the internet, it is cited by thousands of magazines and articles in many years.

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

              Yeah and we told you that their methodology doesn't mean the language is popular IN USE. The TIOBE index is based on search results for keywords. That in no way means the language is more popular in actual use. Am I a hater of VB.NET? No. I started .NET developement in 2001 with VB.NET, using the command line compilers and Notepad. There was no Visual Studio .NET at the time as the .NET Framework was still a beta. I can write code in COBOL (blah!), VB5, VB6, VB.NET, C#, C, C++, C++/CLI, Java, Javascript, VBScript, VBA, ... It doesn't matter what the language is, the money I get for writing in it is still green.

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

              B 1 Reply Last reply
              0
              • G georani

                Dave Kreskowiak wrote:

                They are equivalent in the sense that they both target the .NET Framework.

                Not only this, They are equivalent in the sense that they both can do the same things with equivalent (almost) amount of code (amount of lines).

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

                And as far as your "equivalent" comparison is concerned, that is no longer the case. Visual Basic is the odd man out in the new .Net | InfoWorld[^] The .NET Language Strategy | .NET Blog[^]

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

                G 1 Reply Last reply
                0
                • D Dave Kreskowiak

                  And as far as your "equivalent" comparison is concerned, that is no longer the case. Visual Basic is the odd man out in the new .Net | InfoWorld[^] The .NET Language Strategy | .NET Blog[^]

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

                  Dave Kreskowiak wrote:

                  Visual Basic is the odd man out in the new .Net | InfoWorld[^] The .NET Language Strategy | .NET Blog[^]

                  These 2 articles you cited are almost 2 years old (February 1, 2017) . Now (2018) the reality is another, click to see: .NET Core 3 and Support for Windows Desktop Applications | .NET Blog[^]

                  Article excerpt:

                  C#, F# and VB already work with .NET Core 2.0. You will be able to build desktop applications with any of those three languages with .NET Core 3.

                  D 1 Reply Last reply
                  0
                  • G georani

                    Dave Kreskowiak wrote:

                    Visual Basic is the odd man out in the new .Net | InfoWorld[^] The .NET Language Strategy | .NET Blog[^]

                    These 2 articles you cited are almost 2 years old (February 1, 2017) . Now (2018) the reality is another, click to see: .NET Core 3 and Support for Windows Desktop Applications | .NET Blog[^]

                    Article excerpt:

                    C#, F# and VB already work with .NET Core 2.0. You will be able to build desktop applications with any of those three languages with .NET Core 3.

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

                    Which has NOTHING to do with C# and VB.NET being developed separately and your comparison of the two being "equivalent".

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

                    1 Reply Last reply
                    0
                    • G georani

                      People celebrate when their favorite language goes to top 10 in Tiobe Index, examples: Report: Swift Now Top 10 Language[^] (wow!) TypeScript finally joins the TIOBE top 100[^] (wow!) But VB.NET is raising in popularity in this same index: Visual Basic .NET Populatrity is Raising![^] Interesting that nobody talks about this: VB.NET was in #49 position in 2011 and now it is in #5 position (2018) I received a lot of criticism from people that do not know VB.NET when I made this comment here in CodeProject: Visual Basic.NET Exceeded C# Popularity in TIOBE in July 2018 [^] These people hate VB.NET. YES, after so many years VB.NET has surpassed C# in TIOBE Index (July 2018, August 2018, September 2018, October 2018) Visual Basic.NET is a great programming language, so powerful as C#, but more fun and readable to program with it. Visual Basic.NET IS NOT the classic VB (Old VB). VB.NET is like C# but a bit more verbose and almost like natural English, so anyone can understand VB.NET code. Current Month Ranking of Languages Popularity: www.tiobe.com/tiobe-index/

                      M Offline
                      M Offline
                      maze3
                      wrote on last edited by
                      #39

                      I know why this happened. .net Core 2.1 was announced as supporting VB. So a whole bunch of C# devs thought, that sounds call, I remeber VB. Lets spend a few hours seeing how amazing a programmer I am and do that application I have been doing for months in 1 day in VB. 10 minutes later. Stack Overflow - how to error handle. How do you create string. Why is there no int64. 1 day later, 100 new questions asking "basic" questions because they have never been asked on stack overflow, with people answering and up voting on mass. All this in 2 days. So in comparison, VB.net questions went up 1000% fold (from 1 a month to 1000) Where as c# questions on went up 1% (from 10,000 a month to 10,100) Ah Maths.

                      1 Reply Last reply
                      0
                      • G georani

                        Please, see this hypothetical and valid VB.NET code:

                        'VB.NET code
                        Select Case L1
                        Case Is < 50
                        If L1 = 42 Then

                                        For x = 0 To 100
                                            For y = 0 To 100
                                                For z = 0 To 100
                                                    L1 = DoSomethingWithL(x,y,z,L)
                                                    If L1 = 2 Then L1 += 1 Else L1 = 0                             
                                                Next z
                                            Next y
                                        Next x
                                    End If
                        
                                Case Is > 390
                                    L1 = 0
                                Case Is = 70
                                    L1 = 32
                        

                        End Select

                        Now compare with the only way to do the same thing in C#:

                        // C# code with "Curly Braces Hell"

                        if (L1 < 50)
                        {
                        	if (L1 == 42)
                        	{
                        
                        		for (var x = 0; x <= 100; x++)
                        		{
                        			for (var y = 0; y <= 100; y++)
                        			{
                        				for (var z = 0; z <= 100; z++)
                        				{
                                            L1 = DoSomethingWithL(x,y,z,L);
                        					if (L1 == 2)
                        					{
                        						L1 += 1;
                        					}
                        					else
                        					{
                        						L1 = 0;
                        					}  
                        				}
                        			}
                        		}
                        	}
                        }
                        
                        else if (L1 > 390)
                        {
                        	L1 = 0;
                        }
                        
                        else if (L1 == 70)
                        {
                        	L1 = 32;
                        }
                        

                        Which is more readable and fun? Do you prefer "Curly Braces Hell"?

                        A Offline
                        A Offline
                        Andre Pereira
                        wrote on last edited by
                        #40

                        1000x times yes. Oh goodness, I'm spending lines, LINES on syntax that explicitly marks the beginning and end of each statement. OH NO, STOP THE PRESSSES, CANCEL C#, READABILITY IS OVERRATED, all bow to the mighty "more lines on screen = good" crowd.

                        1 Reply Last reply
                        0
                        • M Minion no 5

                          Popular with non-programmers.

                          A Offline
                          A Offline
                          Andre Pereira
                          wrote on last edited by
                          #41

                          And here I thought every grad student was learning VB.net from day one to graduation! /... Just kidding, they're actually only learning Javascript: the VB of the Web.

                          1 Reply Last reply
                          0
                          • M Marc Clifton

                            georani wrote:

                            VB.NET is like C# but a bit more verbose and almost like natural English, so anyone can understand VB.NET code.

                            I don't care. :cool:

                            Latest Article - A Concise Overview of Threads Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny Artificial intelligence is the only remedy for natural stupidity. - CDP1802

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

                            You obviously do otherwise you wouldn’t have commented that you didn’t care 🤔

                            1 Reply Last reply
                            0
                            • OriginalGriffO OriginalGriff

                              It still has On Error Resume Next - so it's still garbage. A popularity contest does not guarantee quality: look at the current POTUS ...

                              Sent from my Amstrad PC 1640 Never throw anything away, Griff 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
                              #43

                              Just because a language has an implementation that YOU don’t like doesn’t necessarily make it garbage 🤔

                              OriginalGriffO 1 Reply Last reply
                              0
                              • L Lost User

                                Of course it is popular; everyone can be a programmer with VB :) In other news, over 50% of projects fail. Your move :cool:

                                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.

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

                                Projects fail because of crap programmers.

                                L 1 Reply Last reply
                                0
                                • Kornfeld Eliyahu PeterK Kornfeld Eliyahu Peter

                                  I would say that such highly hypothetical code has nothing to do with nothing... I also would say that you do not know how to write efficient code in C#, if you think you have to add all those brackets, or that this is the only way to write it... You also totally drop the factor of experience... C# can be done in different ways, and be still perfectly readable for the experienced... (L1 = (L1 == 42 || (L1 > 390)) ? L1 = 0 : (L1 == 70) ? L1 = 32 : L1;)

                                  "The greatest enemy of knowledge is not ignorance, it is the illusion of knowledge". Stephen Hawking, 1942- 2018

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

                                  Not very readable though is it?

                                  Kornfeld Eliyahu PeterK 1 Reply Last reply
                                  0
                                  • L Lost User

                                    Just because a language has an implementation that YOU don’t like doesn’t necessarily make it garbage 🤔

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

                                    I'm assuming that your username caused the post... :laugh:

                                    Sent from my Amstrad PC 1640 Never throw anything away, Griff 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

                                    L 1 Reply Last reply
                                    0
                                    • OriginalGriffO OriginalGriff

                                      I'm assuming that your username caused the post... :laugh:

                                      Sent from my Amstrad PC 1640 Never throw anything away, Griff 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
                                      #47

                                      How did you guess? 😂

                                      1 Reply Last reply
                                      0
                                      • OriginalGriffO OriginalGriff

                                        It still has On Error Resume Next - so it's still garbage. A popularity contest does not guarantee quality: look at the current POTUS ...

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

                                        J Offline
                                        J Offline
                                        JohnDG52
                                        wrote on last edited by
                                        #48

                                        Just because it has a feature doesn't mean you have to use it.

                                        1 Reply Last reply
                                        0
                                        • L Lost User

                                          Not very readable though is it?

                                          Kornfeld Eliyahu PeterK Offline
                                          Kornfeld Eliyahu PeterK Offline
                                          Kornfeld Eliyahu Peter
                                          wrote on last edited by
                                          #49

                                          Depends on who reading... I have no problem to see what happening there... even easier than reading the if/else version...

                                          "The greatest enemy of knowledge is not ignorance, it is the illusion of knowledge". Stephen Hawking, 1942- 2018

                                          "It never ceases to amaze me that a spacecraft launched in 1977 can be fixed remotely from Earth." ― Brian Cox

                                          L 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