Results 1 to 40 of 959

Thread: What if there was a NEW vb6

Hybrid View

  1. #1
    MS SQL Powerposter szlamany's Avatar
    Join Date
    Mar 2004
    Location
    Connecticut
    Posts
    18,263

    Re: What if there was a NEW vb6

    Quote Originally Posted by Tanner_H View Post
    As an additional comment, I would say that at present, the "killer feature" for C# is .NET native. The performance gains alone would convince me to switch any existing Vb.NET projects over (assuming the project were performance-sensitive, of course).
    I guess if I was ever going to write .Net desktop apps again that feature would matter.

    As for it being a de facto cause to migrate...

    .Net has other factors that slow it down - not just IL. Based on what you are doing, the GC might be evil to you.

    I'm not sure the web method I have in VB.Net would benefit from this feature - building huge JSON strings with StringBuilder is probably all taken up doing just that work.

    I am all for C as a better syntax for the business and professional reasons you mention. I would never tell a new coder to go the BASIC path over C syntax - that argument has no support.

    But that doesn't turn into a mass exodus to C.

    [edit] just playing devils advocate - I personally believe you should have a slew of language choices in your tool belt [/edit]

    *** Read the sticky in the DB forum about how to get your question answered quickly!! ***

    Please remember to rate posts! Rate any post you find helpful - even in old threads! Use the link to the left - "Rate this Post".

    Some Informative Links:
    [ SQL Rules to Live By ] [ Reserved SQL keywords ] [ When to use INDEX HINTS! ] [ Passing Multi-item Parameters to STORED PROCEDURES ]
    [ Solution to non-domain Windows Authentication ] [ Crazy things we do to shrink log files ] [ SQL 2005 Features ] [ Loading Pictures from DB ]

    MS MVP 2006, 2007, 2008

  2. #2
    Fanatic Member
    Join Date
    Aug 2013
    Posts
    806

    Re: What if there was a NEW vb6

    Quote Originally Posted by szlamany View Post
    I guess if I was ever going to write .Net desktop apps again that feature would matter.

    As for it being a de facto cause to migrate...

    .Net has other factors that slow it down - not just IL. Based on what you are doing, the GC might be evil to you.
    Yeah, no disagreement here. But just like multiple languages in your programming toolbox, I'd say that understanding GC behavior is just part of being a modern developer. (Short of C/C++, most relevant languages - Java, Javascript, etc - are all GC.)

    I was never trying to say that all VB.Net devs should migrate to C#, per se. Just that - in my experience - most VB.Net devs use VB.Net for the same reason a lot of VB6 guys use VB6: maintaining legacy codebases.

    For new projects, I think it's difficult to make a case for any variation of VB, unless you just *really* love the syntax. (But obviously, if someone insists on writing new code in VB, .Net is going to be the right choice 99% of the time.)
    Check out PhotoDemon, a pro-grade photo editor written completely in VB6. (Full source available at GitHub.)

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