Visual Basic.NET Exceeded C# Popularity in TIOBE in July 2018
-
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!
-
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/
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.
-
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
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 -
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!
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
-
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
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!
-
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!
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.");
-
-
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.");
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!
-
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/
Thank you for reinforcing my belief that TIOBE INDEX doesn't mean squat all.
-
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.
-
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/
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
-
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!
-
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!
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?
-
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!
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.
-
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
-
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.
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!
-
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.
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
-
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.
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
-
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!
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 PropertyIs 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"?
-
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
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.