r/visualbasic • u/oliverstr • Jun 27 '20
Isnt Visual Basic just CSharp but with a more english like syntax? (Makes it slightly slower to code)
2
u/Bonejob VB Guru Jun 27 '20
They are both .NET languages that compile down using the same compiler. Syntax is irrelevant in the end. People like to spout language features and syntax as why they love a language. What it really boils down to people think differently and learned a specific way to code in the beginning.
Pedantic people will spout that certain features make a language "better" Here are the tenants I think are the most important about a language;
Is it easy to read and show others what is going on inside you code? (Generates low cognitive load to interpret meaning from the code.)
Does it do what I need to build what I want?
For example VB is not a great language for writing games. Some would tell you that C++ is what you should use to make a game, others will say "I use this engine!". The reality is you pick the language that is best for the given context of what you are developing.
I use C for embedded projects, I use C# for Unity 3D, I use Python or React for web interfaces, I use VB.NET Core to write back end API's for applications.
Learn to program don't learn a language. Once you realize that all languages do the same thing in the end "produce a result" then you can come to grips that the language is less important than you comfort in writing and the results.
1
u/oliverstr Jul 03 '20
I know that 100% and i agree with it but whats the major difference between C# and Visual Basic that makes VB better for Back end for you?
1
u/Bonejob VB Guru Jul 03 '20
Nothing it's personal choice. I like VB because the syntax is easier to understand. Some like C# for the documentation is better.
It's personal preference, nothing else.
1
1
u/banshoo Jun 27 '20
whatever makes you happy trollface mctrolly
and could it be that /u/oliverstr & /u/valtzz00 are the same people..
original post by /u/oliverstr : "Isnt Visual Basic just CSharp but with a more english like syntax? (Makes it slightly slower to code)" & a reply by /u/valtzz00 "Visual basic .NET more specifically. I don't know so much about visual basic itself."
(as Im sure they'll delete the posts to cover their traces)
1
1
1
1
u/ABPerson Jul 03 '20
I find that really unlikely, there's literally nothing that says they're the same people.
2
u/ocdtrekkie Jun 27 '20
I code a lot faster in VB because I more natively remember the syntax and formatting. I spent a lot of time with C# fiddling with getting the syntax right and it wastes a lot of time.
3
1
1
1
u/thebadslime Jun 27 '20
I mean they both will use a ton of dotnet shit, but the languages are different.
2
u/hausenfefr Jun 27 '20
except... chronology.