Results 1 to 8 of 8

Thread: VB.NET vs C#

  1. #1

    Thread Starter
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,710

    VB.NET vs C#

    Hello MS VB Team and Welcome!

    There has always been comparisons between VB.NET and C# as to which one is better but what feature(s) do you guys feel is it that is going to build VB's popularity and growth over C# both in the workplace and/or personal use? Perhaps some feature(s) I havent seen yet or familiar with in 2008 or whats on the drawing board for the next version?

    Thank You
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  2. #2
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,173

    Re: VB.NET vs C#

    I'll add to that question.

    Why are there differences at all between the two languages? Does the fact that differences exist imply that the two languages are meant to be used for different purposes? For example, can one say "C# is better for web applications, but I'd stick to VB.NET for windows applications."?

    I'm really looking forward to an answer for this because I have to put up with a lot of grief at work over this (metaphorically speaking of course).

  3. #3
    Pro Grammar chris128's Avatar
    Join Date
    Jun 2007
    Location
    England
    Posts
    7,604

    Re: VB.NET vs C#

    Quote Originally Posted by mendhak
    I'll add to that question.

    Why are there differences at all between the two languages? Does the fact that differences exist imply that the two languages are meant to be used for different purposes?
    I have ALWAYS wondered that! I just assumed I didnt understand the point in there being two languages because I had only ever used VB and didnt know what C# was truly capable of. I'm glad to see im not alone
    Last edited by MartinLiss; Dec 10th, 2007 at 02:06 PM.

  4. #4
    Special Guest - Microsoft
    Join Date
    Dec 2007
    Posts
    36

    Re: VB.NET vs C#

    Hi-

    VB and C# are both great languages. There are interesting stylistic differences, however, the capabilities are about the same for our current set of scenarios and they are on equal footing in the business. The feature differences are small: C# has small language features like iterators and VB has features like case insensitivity and optional parameters. In cases where a language gets a feature first in a release we'll often look at whether the broader .net community wants it moving forward. EnC is an example.

    Instead the languages focus on being different in ways that appeal to the skill set and background of the user base. We care about moving developers forward to .NET and the latest version of Visual Studio. VB historically has been the most used language & tool, and that hasn't changed. VB.NET is the most used .NET language, albeit usage between VB.NET and C# is very similar. The VB community base is strategically important to MS and we care about delivering experiences that are deeply satisfying. Per Chris's comment, we want people to be able to move forward without having to learn a completely different language.

    One experience that we continue to push the hardest for VB is productivity in common tasks. Look at our story for Linq to XML (with literals) and compare that to C#. The capability is the same but the experience is streamlined for productivity and intuitive usage.

    Whether or not we differentiate more between the languages or stick to roughly parity is a question senior managers are contemplating right now.

    From our perspective you should know we don't think about VB vs. C# per se. We think about VB + C# vs. the competion, including previous versions like VB6. By providing a great story for the VB crowd and the C-based crowd we address more of the market.

    --

    I'm interested to hear your thoughts, but at the same time I hope to avoid the VB vs. C# "debate" this week in the slow chat. If you need more ammo to sell your groups on doing VB.NET projects perhaps that's a place I can help. Again, VB is a great fit for teams with VB skills, plus, it has the largest .NET base so there's safety in numbers.

    Best,
    Paul
    Last edited by PaulYuk_MS; Dec 10th, 2007 at 07:53 PM.
    Paul Yuknewicz
    Lead Program Manager
    Microsoft Visual Basic
    http://msdn.com/vbasic

  5. #5

    Thread Starter
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,710

    Re: VB.NET vs C#

    Thank You for the well versed reply Paul.

    I was wondering about my part of the question: what you think will be the new feature(s) or future feature(s) that will really increase VB.NET's RAD development as I believe it being a RAD development tool is VB's biggest strength?
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  6. #6
    Special Guest - Microsoft
    Join Date
    Dec 2007
    Posts
    36

    Re: VB.NET vs C#

    Hi Rob,

    Yes, you bet there will be bigtime RAD advances in data, services, windows, web, office, mobile, and more spaces. Agree -this is one of the top strengths. There's still work to do to figure out if we deliver those uniquely to VB or to the rest of the VS/.NET tools and languages. You can look at cases of both in '08 (RAD WCF service consumption is global, Linq to XML RAD is unique) If you're asking me which ones will be unique to VB I can't answer quite yet...

    thanks,
    Paul
    Paul Yuknewicz
    Lead Program Manager
    Microsoft Visual Basic
    http://msdn.com/vbasic

  7. #7
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: VB.NET vs C#

    Quote Originally Posted by PaulYuk_MS
    There's still work to do to figure out if we deliver those uniquely to VB or to the rest of the VS/.NET tools and languages.
    Why would it have to be an either/or?

  8. #8

    Thread Starter
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,710

    Re: VB.NET vs C#

    @Hack, I think hes saying if it will be unique to vb or common to all including vb.


    Thanks Paul for your reply.

    With productivity being the strength of VB, do you think that their can be an overuse of "wizards" in the IDE which hinder or create a ependancy on them as the programmer either wont learn or will create a dependancy on doing things via the GUI vs doing the same things with just a few lines of actual code? I prefer doing things purely with code as IMO its better and faster since you know whats going on in the background of those "wizards" that generate db connections/bindings etc.

    I have found from experience on this site that users depend upon the wizards and post questions on topics like "How do I change the db path during runtime?". This shows me that they dont know or have forgotten how to write the actual ADO code for it which is very simple.

    Are we going to end up with VB needing to be so productive that it will end up hurting its perception in the industry as a strong and professional development language?
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width