|
I can't fully disagree, except that while JS may be dynamic, it has a real use and is a highly effective tool in the toolbox of someone that can work with it appropriately.
(Plus it's not intuitive enough to be good flypaper, which is more of a condemnation than an advertisement for a dynamic language)
"Never attribute to malice that which can be explained by stupidity."
- Hanlon's Razor
|
|
|
|
|
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.
|
|
|
|
|
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.
|
|
|
|
|
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.
modified 21-Jul-18 11:35am.
|
|
|
|
|
georani wrote: not fun or more readable.
Who are you trying to kid? 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: 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"?
modified 21-Jul-18 11:37am.
|
|
|
|
|
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!
|
|
|
|
|
It's so interesting seeing someone who doesn't really know what programming is quite about, making grand comparisons between programming tools.
|
|
|
|
|
So,
The TIOBE index is nothing more than an analysis of search results from the following search engines:
[Search Engine] [Weight]
Google.com 7.69%
Youtube.com 7.38%
Baidu.com 7.08%
Wikipedia.org 6.77%
Yahoo.com: 6.46%
Google.co.in: 6.15%
Google.co.jp: 5.85%
Google.ru: 5.54%
Google.co.uk: 5.23%
Google.com.br: 4.92%
Google.com.hk: 4.62%
Google.de: 4.31%
Google.fr: 4.00%
Ebay.com: 3.69%
Csdn.net: 3.38%
Bing.com: 3.08%
Msn.com: 2.77%
Google.it: 2.46%
Hao123.com: 2.15%
Google.ca: 1.85%
Google.com.au: 1.54%
Google.es: 1.23%
Google.com.mx: 0.92%
Ebay.de: 0.62%
Google.com.tr: 0.31%
= 100%
Using the following search term:
+"<language> programming"
And the result is derived from the following equation:
((hits(PL,SE1)/hits(SE1) + ... + hits(PL,SEn)/hits(SEn))/n
Source: TIOBE Programming Community Index Definition
It's basically a meaningless number. Have a look at the graph they have presented. Notice that in early 2004 there is a glitch in their graph where Python jumps up and Java and C++ tank dramatically. That happened because of the Google PageRank algorithm changes codenamed 'Austin' and 'Brandy' that was designed to combat the old SEO tricks webmasters used to get higher rank.
In other words... when search engines change their algorithm the tiobe index jumps all around.
Best Wishes,
-David Delaune
|
|
|
|
|
Oi! No confusing the faithful with facts - that's cheating!
Sent from my Amstrad PC 1640
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Trust me,
Here is proof:
PROOF
Best Wishes,
-David Delaune
|
|
|
|
|
Your proof is overwhelming: how could any man of reason fail to be convinced?
Sent from my Amstrad PC 1640
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Randor wrote: proof:
PROOF You keep misspelling "lies"
|
|
|
|
|
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
Bastard Programmer from Hell
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
|
|
|
|
|
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"
Bastard Programmer from Hell
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: 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.
|
|
|
|
|
georani wrote: False! False assertion, study more, do some research, try Wikipedia. That, you should do.
georani wrote: 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. That's correct; VB.NET and C# could be translated into each other by doing search and replace.
C# is just a cleaned up version of VB7. As said, they "needed" another language in the curly braces family.
Bastard Programmer from Hell
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.
|
|
|
|
|
C# came out right after Microsoft lost the lawsuit regarding J++, their version of Java. It seemed (at the time) that C# was a repackaged J++ ... which may not be an accurate assumption. But the timing matched.
|
|
|
|
|
Thank you for reinforcing my belief that TIOBE INDEX doesn't mean squat all.
|
|
|
|
|
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!
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
|
|
|
|
|
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.
modified 21-Jul-18 11:18am.
|
|
|
|
|
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
|
|
|
|
|
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.
|
|
|
|