dcsimg
Page 3 of 3 FirstFirst 123
Results 81 to 97 of 97

Thread: New SKUs and a Release Date for Visual Studio 2010

  1. #81
    ASP.NET Moderator gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,966

    Re: New SKUs and a Release Date for Visual Studio 2010

    Yip, have to admit his blog is on my RSS feed

    Lot's of useful information on there.

  2. #82
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913

    Re: New SKUs and a Release Date for Visual Studio 2010

    Something only a programmer could find funny. The new dynamic type is a static type.

    http://msdn.microsoft.com/en-us/libr...6(VS.100).aspx


    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

  3. #83
    Super Moderator RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,698

    Re: New SKUs and a Release Date for Visual Studio 2010

    They just created a type that is Late Bound that wont break Option Strict.
    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

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

    Re: New SKUs and a Release Date for Visual Studio 2010

    Yeah thats what I was thinking lol I guess its better than turning Option Strict off altogether
    My free .NET Windows API library (Version 2.2 Released 12/06/2011)

    Blog: cjwdev.wordpress.com
    Web: www.cjwdev.co.uk


  5. #85
    Super Moderator RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,698

    Re: New SKUs and a Release Date for Visual Studio 2010

    Maybe it would have been better to have some sort of casting that would do the same thing.
    Just seems to me that Dynamic is a repackaged Variant

    Option Strict should never be an option to turn off. There is always a way to do something.
    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. #86
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913

    Re: New SKUs and a Release Date for Visual Studio 2010

    Quote Originally Posted by RobDog888 View Post

    Just seems to me that Dynamic is a repackaged Variant


    Not really. var infers a Strong Type. dynamic maintains itself as a dynamic type and is more useful for invoking functions from dynamic languages such as JavaScript or IronPython
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

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

    Re: New SKUs and a Release Date for Visual Studio 2010

    You mean people actually use IronPython?
    My free .NET Windows API library (Version 2.2 Released 12/06/2011)

    Blog: cjwdev.wordpress.com
    Web: www.cjwdev.co.uk


  8. #88
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913

    Re: New SKUs and a Release Date for Visual Studio 2010

    Quote Originally Posted by chris128 View Post
    You mean people actually use IronPython?
    Apparently.
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

  9. #89
    Super Moderator RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,698

    Re: New SKUs and a Release Date for Visual Studio 2010

    Quote Originally Posted by Cander View Post
    Not really. var infers a Strong Type. dynamic maintains itself as a dynamic type and is more useful for invoking functions from dynamic languages such as JavaScript or IronPython
    Yes and no. Dynamic is more useful but its losely typed same as Variant. Its up to the programmer to make sure the object that will be casting will be of the expected type. Dynamic can bypass the Option Strict checking whereas Variant would require a casting to some defined type.
    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

  10. #90
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913

    Re: New SKUs and a Release Date for Visual Studio 2010

    Quote Originally Posted by RobDog888 View Post
    Yes and no. Dynamic is more useful but its losely typed same as Variant. Its up to the programmer to make sure the object that will be casting will be of the expected type. Dynamic can bypass the Option Strict checking whereas Variant would require a casting to some defined type.
    Are we talking 2 different vars here? I am referring to var in C# where var is implicitly inferred to it's strong type. Whereas VB 6's var is what it sounds you are referring to.
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

  11. #91
    Super Moderator RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,698

    Re: New SKUs and a Release Date for Visual Studio 2010

    repackaged Variant = VB6 Variant
    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

  12. #92
    ASP.NET Moderator gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,966

    Re: New SKUs and a Release Date for Visual Studio 2010

    Quote Originally Posted by Cander View Post
    Apparently.
    Off Topic:

    Have you used it Cander? Any good? I have read about it, but never actually done anything with it?

    Gary

  13. #93
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913

    Re: New SKUs and a Release Date for Visual Studio 2010

    Quote Originally Posted by RobDog888 View Post
    repackaged Variant = VB6 Variant
    Ok. Epic faceplam!
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

  14. #94
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913

    Re: New SKUs and a Release Date for Visual Studio 2010

    Quote Originally Posted by gep13 View Post
    Off Topic:

    Have you used it Cander? Any good? I have read about it, but never actually done anything with it?

    Gary
    Never had the call to try it. A friend of mine loves it, but he is one those dynamic language lovers who would sing it's praises no matter what.

    I do kinda like the python syntax though.
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

  15. #95
    PowerPoster JuggaloBrotha's Avatar
    Join Date
    Sep 2005
    Location
    Lansing, MI; USA
    Posts
    4,282

    Re: New SKUs and a Release Date for Visual Studio 2010

    Hmm... so the variant type is back, what a surprise. Wasn't Object supposed to be the type that handles what Variant did back in vb6 and older?

    Why is .Net becoming so loosely typed anyways? I mean Linq, now Variant... this is becoming sad.
    Currently using VS 2015 Enterprise on Win10 Enterprise x64.

    CodeBank: All ThreadsColors ComboBoxFading & Gradient FormMoveItemListBox/MoveItemListViewMultilineListBoxMenuButtonToolStripCheckBoxStart with Windows

  16. #96
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913

    Re: New SKUs and a Release Date for Visual Studio 2010

    Quote Originally Posted by JuggaloBrotha View Post
    Hmm... so the variant type is back, what a surprise. Wasn't Object supposed to be the type that handles what Variant did back in vb6 and older?

    Why is .Net becoming so loosely typed anyways? I mean Linq, now Variant... this is becoming sad.
    LINQ isn't loosely typed. And as I said above dynamic is useful for invoking of dynamic language methods. It will simplify Reflection for those languages and COM Interop. dynamic tells the compiler not to resolve the object until runtime. This allows you to use a dynamic variable in a stronly typed way like accessing fields and methods with dot notation without the compiler bombing out when you try to compile your code. So you could tie a dynamic variable to a dynamic object and call a method from it like
    Code:
    myDynamic.Method();
    If myDynamic was declared as Object it would not compile.
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

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

    Re: New SKUs and a Release Date for Visual Studio 2010

    To get back on topic - I just received an email from MS suggesting that this fix might improve the startup speed of the WPF/Silverlight designer in VS 2010 BETA 2
    http://blogs.msdn.com/ddperf/archive...10-beta-2.aspx

    I havent had chance to test it yet as I rebuilt my PC with Windows 7 recently and havent reinstalled the BETA yet..
    My free .NET Windows API library (Version 2.2 Released 12/06/2011)

    Blog: cjwdev.wordpress.com
    Web: www.cjwdev.co.uk


Page 3 of 3 FirstFirst 123

Posting Permissions

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



Featured


Click Here to Expand Forum to Full Width