Why C# is Better than VB

preview_player
Показать описание
Can you tell me why C# is better than VB?

C# has better error recognition, whether it is initialized variables and dead code. C# can be said to have a garbage collector to clean up any debris coders leave behind.

So it is more forgiving.

No, not forgiving like a language like Lua, but it will give you more fewer silent but deadly errors.

C# is not operating system specific like VB is for Microsoft. You have more job opportunities.

But Microsoft does have the Microsoft Virtual Academy to teach you a lot about using C# for Windows 8.

That's ironic given that one of VB's weaknesses is the WPF that Windows tries to get you to use.

C# is cross-platform.

All dot-net languages are.

I think it is great that Microsoft tacitly supports alternatives to its own lousy solutions. C# is actually better than VB.net for creating Windows apps these days.

It is probably a business move, so they can get at least some decent apps on their OS, since their own folks are not.

On another note, C# developers make more than VB developers.

That's more a criticism of Microsoft than a reason to use C#.

C# is a strong language with a lot of functions. You can even use it for web development.

I'd rather use Java or JavaScript.

C# has features like XML comments, multiline comments and lots of other types of comments.

No comment on that functionality.

VB cannot replicate the external alias features in C#. VB relies on default root namespaces that are not flexible.

That's a no name function.

C# lets you put regions inside of a function. This lets you break up the implementation into several, separate yet logical pieces.

That's a logical reason to use it.

Formatting in C# is less annoying than in VB. You can use semi-colons to end it.

That's similar to Lisp and its parenthesis.
Рекомендации по теме
Комментарии
Автор

полная херня, это все равно, что спросить, какая вода лучше: бутилированая или из под крана. Любые решения можно выполнить и на том и на другом языке... С#=VB

Roman-ogur