Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. .Net 4.0 & C#4.0 Opinions

.Net 4.0 & C#4.0 Opinions

Scheduled Pinned Locked Moved The Lounge
csharpcomquestioncssvisual-studio
48 Posts 28 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Member 1709723

    looking forward to fixing a lot of shitty, unreadable, convoluted and... shitty code due to the introduction of optional parameters* looking forward to fixing a lot of shitty, unreadable, convoluted and... shitty code due to the introduction of dynamic declarations* i am still hoping that if i continue to ignore wpf it will die the slow horible death it deserves ( not sure i will succeed on this one) *other people's code, of course

    Opium is my business. The bridge mean more traffic. More traffic mean more money. More money mean more power. Speed is important in business. Time is money. You said opium was money. Money is Money. Well then, what is time again? icalburner

    C Offline
    C Offline
    Christian Graus
    wrote on last edited by
    #10

    Member 1709723 wrote:

    i am still hoping that if i continue to ignore wpf it will die the slow horible death it deserves ( not sure i will succeed on this one)

    What makes you say that ? It has issues, but it's the nicest way to create compelling UI right now.

    Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

    V 1 Reply Last reply
    0
    • M martin_hughes

      I was thinking about the impending release of .Net 4.0/C# 4.0 and wondering whether or not I can be bothered (not that I've actually opened VS 2008 for a couple of months now, but it's handy to keep your toe in) - I'm sure the more eager amongst you will have checked out .Net 4.0 and the VS 2010 betas, so I thought I'd throw the question out "Is it worth it" and gather some opinions (I'm bored, it's raining and I've got nothing better to do :D ). From what I've read, particularly with reference to C#, the main areas of development are: 1) Parallelization 2) Dynamic language features & the DLR 3) Some (C#) language improvements to make Office/COM interop less of a pain in the jacksie, design by contract and some other stuff. 4) A rewrite of WWF. 5) Another stab at (or improvements to) Entity Framework. And that's about it (there are bound to be some other things, but those were the big five I found talked/blogged/pod-casted about most). Are any of these (or any other features you know about that I don't) enough to make you upgrade? the one that appeals to me most is the dynamic stuff (the DLR + IronPython more than C#'s dynamic features) but I could do without it - and the rest, I'm not so sure. The parallel stuff looks interesting, but runs the risk of being too close to bleeding edge and may well be superceded by something else quite quickly, the changes to WWF would make my blood boil if I had invested anything in the original release and I've avoided Entity Framework - only because I've not had much use for it. Also, is this release too soon?

      print "http://www.codeproject.com".toURL().text Ain't that Groovy?

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #11

      I'm looking forward to a ton of (hopefully) WPF fixes, but the thing that really makes me drool is Parallelization/Tasks.

      A guide to posting questions on CodeProject[^]
      Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
           2006, 2007, 2008

      C 1 Reply Last reply
      0
      • D Dave Kreskowiak

        I'm looking forward to a ton of (hopefully) WPF fixes, but the thing that really makes me drool is Parallelization/Tasks.

        A guide to posting questions on CodeProject[^]
        Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
             2006, 2007, 2008

        C Offline
        C Offline
        Christian Graus
        wrote on last edited by
        #12

        I know there's a ton of things to fixed, have they said anything ?

        Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

        D 1 Reply Last reply
        0
        • M martin_hughes

          I was thinking about the impending release of .Net 4.0/C# 4.0 and wondering whether or not I can be bothered (not that I've actually opened VS 2008 for a couple of months now, but it's handy to keep your toe in) - I'm sure the more eager amongst you will have checked out .Net 4.0 and the VS 2010 betas, so I thought I'd throw the question out "Is it worth it" and gather some opinions (I'm bored, it's raining and I've got nothing better to do :D ). From what I've read, particularly with reference to C#, the main areas of development are: 1) Parallelization 2) Dynamic language features & the DLR 3) Some (C#) language improvements to make Office/COM interop less of a pain in the jacksie, design by contract and some other stuff. 4) A rewrite of WWF. 5) Another stab at (or improvements to) Entity Framework. And that's about it (there are bound to be some other things, but those were the big five I found talked/blogged/pod-casted about most). Are any of these (or any other features you know about that I don't) enough to make you upgrade? the one that appeals to me most is the dynamic stuff (the DLR + IronPython more than C#'s dynamic features) but I could do without it - and the rest, I'm not so sure. The parallel stuff looks interesting, but runs the risk of being too close to bleeding edge and may well be superceded by something else quite quickly, the changes to WWF would make my blood boil if I had invested anything in the original release and I've avoided Entity Framework - only because I've not had much use for it. Also, is this release too soon?

          print "http://www.codeproject.com".toURL().text Ain't that Groovy?

          M Offline
          M Offline
          Marc Clifton
          wrote on last edited by
          #13

          Well, Josh Fischer [^] has a decent article on the new features. Parallelization, when I looked at the TPL, it seemed cute, meaning it's easy to parallelize a for loop, but if you really need to work with threads to utilize processors and you really have real work that can be parallelized, then I think TPL is too simplistic, and really doesn't give you that much more. Sure, it hides some details, but so what? I'd rather work more closely with the API than have some additional layer wrap the management of threading. Optional parameters I've missed from the days of C++ since I started working with C#. About time. Dynamic variables seems pointless to me and probably a big performance hit, especially since it looks like the runtime is essentially using reflection to figure out if the object has the property. Everyone complains that declarative programming doesn't allow for compile-time type checking, yet "they" keep adding features to C# that move type checking into the runtime. :sigh: The co-contra variance looks very useful. Com Interop stuff looks like it'll be useful. I don't really care if they rewrite WWF, and am glad I'm not using it if that's the case. Entity Framework--why bother. There's better 3rd party solutions out there, and for anything real, the EF looks way to immature anyways. Marc

          Will work for food. Interacx

          I'm not overthinking the problem, I just felt like I needed a small, unimportant, uninteresting rant! - Martin Hart Turner

          N R J S 4 Replies Last reply
          0
          • C Christian Graus

            Any news on if they've fixed any of the many bugs in WPF ?

            Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

            M Offline
            M Offline
            martin_hughes
            wrote on last edited by
            #14

            Christian Graus wrote:

            Any news on if they've fixed any of the many bugs in WPF ?

            Yeah, apparently they've fixed everything - and the fixes will be available to everyone without exception, the only exception being you. ;)

            print "http://www.codeproject.com".toURL().text Ain't that Groovy?

            C 1 Reply Last reply
            0
            • M martin_hughes

              Christian Graus wrote:

              Any news on if they've fixed any of the many bugs in WPF ?

              Yeah, apparently they've fixed everything - and the fixes will be available to everyone without exception, the only exception being you. ;)

              print "http://www.codeproject.com".toURL().text Ain't that Groovy?

              C Offline
              C Offline
              Christian Graus
              wrote on last edited by
              #15

              Well, that's typical.....

              Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

              1 Reply Last reply
              0
              • R Rama Krishna Vavilala

                martin_hughes wrote:

                1. A rewrite of WWF.

                Why? Why not WPF?

                B Offline
                B Offline
                benjymous
                wrote on last edited by
                #16

                And there was me thinking all that balsa wood chair smashing was unscripted and spontaneous :sigh:

                Help me! I'm turning into a grapefruit! Buzzwords!

                1 Reply Last reply
                0
                • M Marc Clifton

                  Well, Josh Fischer [^] has a decent article on the new features. Parallelization, when I looked at the TPL, it seemed cute, meaning it's easy to parallelize a for loop, but if you really need to work with threads to utilize processors and you really have real work that can be parallelized, then I think TPL is too simplistic, and really doesn't give you that much more. Sure, it hides some details, but so what? I'd rather work more closely with the API than have some additional layer wrap the management of threading. Optional parameters I've missed from the days of C++ since I started working with C#. About time. Dynamic variables seems pointless to me and probably a big performance hit, especially since it looks like the runtime is essentially using reflection to figure out if the object has the property. Everyone complains that declarative programming doesn't allow for compile-time type checking, yet "they" keep adding features to C# that move type checking into the runtime. :sigh: The co-contra variance looks very useful. Com Interop stuff looks like it'll be useful. I don't really care if they rewrite WWF, and am glad I'm not using it if that's the case. Entity Framework--why bother. There's better 3rd party solutions out there, and for anything real, the EF looks way to immature anyways. Marc

                  Will work for food. Interacx

                  I'm not overthinking the problem, I just felt like I needed a small, unimportant, uninteresting rant! - Martin Hart Turner

                  N Offline
                  N Offline
                  Not Active
                  wrote on last edited by
                  #17

                  Marc Clifton wrote:

                  Optional parameters I've missed from the days of C++ since I started working with C#. About time.

                  Right and it's taken until version 4 to get them :confused:

                  Marc Clifton wrote:

                  Dynamic variables seems pointless to me

                  I didn't see the point either.


                  only two letters away from being an asset

                  1 Reply Last reply
                  0
                  • M Marc Clifton

                    Well, Josh Fischer [^] has a decent article on the new features. Parallelization, when I looked at the TPL, it seemed cute, meaning it's easy to parallelize a for loop, but if you really need to work with threads to utilize processors and you really have real work that can be parallelized, then I think TPL is too simplistic, and really doesn't give you that much more. Sure, it hides some details, but so what? I'd rather work more closely with the API than have some additional layer wrap the management of threading. Optional parameters I've missed from the days of C++ since I started working with C#. About time. Dynamic variables seems pointless to me and probably a big performance hit, especially since it looks like the runtime is essentially using reflection to figure out if the object has the property. Everyone complains that declarative programming doesn't allow for compile-time type checking, yet "they" keep adding features to C# that move type checking into the runtime. :sigh: The co-contra variance looks very useful. Com Interop stuff looks like it'll be useful. I don't really care if they rewrite WWF, and am glad I'm not using it if that's the case. Entity Framework--why bother. There's better 3rd party solutions out there, and for anything real, the EF looks way to immature anyways. Marc

                    Will work for food. Interacx

                    I'm not overthinking the problem, I just felt like I needed a small, unimportant, uninteresting rant! - Martin Hart Turner

                    R Offline
                    R Offline
                    Rama Krishna Vavilala
                    wrote on last edited by
                    #18

                    Excellent! I could not agree more with each of your points.

                    1 Reply Last reply
                    0
                    • D Dave Parker

                      I think it has type covariance and contravariance which is something I've wanted for a while.

                      S Offline
                      S Offline
                      Ssswamii
                      wrote on last edited by
                      #19

                      Yeah, ditto. It's one of those things that you think should work, but doesn't once you go try it:

                      var strings = new List() { "hello", "world" };
                      IEnumerable objectList = strings; // this works now

                      The 3 big areas that affect me are IEnumerable<T>, Action<T, ...> and Func<T...>

                      N 1 Reply Last reply
                      0
                      • M martin_hughes

                        I was thinking about the impending release of .Net 4.0/C# 4.0 and wondering whether or not I can be bothered (not that I've actually opened VS 2008 for a couple of months now, but it's handy to keep your toe in) - I'm sure the more eager amongst you will have checked out .Net 4.0 and the VS 2010 betas, so I thought I'd throw the question out "Is it worth it" and gather some opinions (I'm bored, it's raining and I've got nothing better to do :D ). From what I've read, particularly with reference to C#, the main areas of development are: 1) Parallelization 2) Dynamic language features & the DLR 3) Some (C#) language improvements to make Office/COM interop less of a pain in the jacksie, design by contract and some other stuff. 4) A rewrite of WWF. 5) Another stab at (or improvements to) Entity Framework. And that's about it (there are bound to be some other things, but those were the big five I found talked/blogged/pod-casted about most). Are any of these (or any other features you know about that I don't) enough to make you upgrade? the one that appeals to me most is the dynamic stuff (the DLR + IronPython more than C#'s dynamic features) but I could do without it - and the rest, I'm not so sure. The parallel stuff looks interesting, but runs the risk of being too close to bleeding edge and may well be superceded by something else quite quickly, the changes to WWF would make my blood boil if I had invested anything in the original release and I've avoided Entity Framework - only because I've not had much use for it. Also, is this release too soon?

                        print "http://www.codeproject.com".toURL().text Ain't that Groovy?

                        K Offline
                        K Offline
                        Kevin McFarlane
                        wrote on last edited by
                        #20

                        martin_hughes wrote:

                        Also, is this release too soon?

                        Well, in general, it would be nice if MS slowed down a bit...

                        Kevin

                        D F 2 Replies Last reply
                        0
                        • M Member 1709723

                          looking forward to fixing a lot of shitty, unreadable, convoluted and... shitty code due to the introduction of optional parameters* looking forward to fixing a lot of shitty, unreadable, convoluted and... shitty code due to the introduction of dynamic declarations* i am still hoping that if i continue to ignore wpf it will die the slow horible death it deserves ( not sure i will succeed on this one) *other people's code, of course

                          Opium is my business. The bridge mean more traffic. More traffic mean more money. More money mean more power. Speed is important in business. Time is money. You said opium was money. Money is Money. Well then, what is time again? icalburner

                          K Offline
                          K Offline
                          Kevin McFarlane
                          wrote on last edited by
                          #21

                          Member 1709723 wrote:

                          looking forward to fixing a lot of sh***y, unreadable, convoluted and... sh***y code due to the introduction of optional parameters

                          Interestingly, in my C++ days I didn't mind them so much. But when I've encountered them when I've had to maintain VB .NET code they've been a real pain.

                          Kevin

                          M 1 Reply Last reply
                          0
                          • M Marc Clifton

                            Well, Josh Fischer [^] has a decent article on the new features. Parallelization, when I looked at the TPL, it seemed cute, meaning it's easy to parallelize a for loop, but if you really need to work with threads to utilize processors and you really have real work that can be parallelized, then I think TPL is too simplistic, and really doesn't give you that much more. Sure, it hides some details, but so what? I'd rather work more closely with the API than have some additional layer wrap the management of threading. Optional parameters I've missed from the days of C++ since I started working with C#. About time. Dynamic variables seems pointless to me and probably a big performance hit, especially since it looks like the runtime is essentially using reflection to figure out if the object has the property. Everyone complains that declarative programming doesn't allow for compile-time type checking, yet "they" keep adding features to C# that move type checking into the runtime. :sigh: The co-contra variance looks very useful. Com Interop stuff looks like it'll be useful. I don't really care if they rewrite WWF, and am glad I'm not using it if that's the case. Entity Framework--why bother. There's better 3rd party solutions out there, and for anything real, the EF looks way to immature anyways. Marc

                            Will work for food. Interacx

                            I'm not overthinking the problem, I just felt like I needed a small, unimportant, uninteresting rant! - Martin Hart Turner

                            J Offline
                            J Offline
                            Judah Gabriel Himango
                            wrote on last edited by
                            #22

                            Marc Clifton wrote:

                            Parallelization, when I looked at the TPL, it seemed cute, meaning it's easy to parallelize a for loop, but if you really need to work with threads to utilize processors and you really have real work that can be parallelized, then I think TPL is too simplistic

                            I hope you give it a fair try, it's really so much more than parallelizing loops.

                            Religiously blogging on the intarwebs since the early 21st century: Kineti L'Tziyon Judah Himango

                            M 1 Reply Last reply
                            0
                            • C Christian Graus

                              Any news on if they've fixed any of the many bugs in WPF ?

                              Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

                              0 Offline
                              0 Offline
                              0x3c0
                              wrote on last edited by
                              #23

                              Wow. I think a Microsoft employee signed up recently; you got univoted. Fixed

                              Between the idea And the reality Between the motion And the act Falls the Shadow

                              D 1 Reply Last reply
                              0
                              • C Christian Graus

                                I know there's a ton of things to fixed, have they said anything ?

                                Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

                                D Offline
                                D Offline
                                Dave Kreskowiak
                                wrote on last edited by
                                #24

                                Not that I've heard, but then again, I haven't exactly been reading a ton of blog posts lately either. My time is filled by watching my 14 month old's face as he steps into a puddle and stomps his feet for the first time. To him, it turned out to be the coolest thing on earth. For me, it turned out to be the coolest thing on this earth! :cool:

                                A guide to posting questions on CodeProject[^]
                                Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
                                     2006, 2007, 2008

                                1 Reply Last reply
                                0
                                • C Christian Graus

                                  And here I was thinking they write them so I have stuff to blog about.....

                                  Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

                                  R Offline
                                  R Offline
                                  Richard Jones
                                  wrote on last edited by
                                  #25

                                  Yeah, I have popcorn ready for you and the release date. :laugh:

                                  Cheetah. Ferret. Gonads. What more can I say? - Pete O'Hanlon

                                  U 1 Reply Last reply
                                  0
                                  • 0 0x3c0

                                    Wow. I think a Microsoft employee signed up recently; you got univoted. Fixed

                                    Between the idea And the reality Between the motion And the act Falls the Shadow

                                    D Offline
                                    D Offline
                                    Dan Neely
                                    wrote on last edited by
                                    #26

                                    Nah. Christian gets univoted every time he vents about a problem.

                                    It is a truth universally acknowledged that a zombie in possession of brains must be in want of more brains. -- Pride and Prejudice and Zombies

                                    1 Reply Last reply
                                    0
                                    • K Kevin McFarlane

                                      martin_hughes wrote:

                                      Also, is this release too soon?

                                      Well, in general, it would be nice if MS slowed down a bit...

                                      Kevin

                                      D Offline
                                      D Offline
                                      DaveX86
                                      wrote on last edited by
                                      #27

                                      I agree...I haven't even touched linq, etc. C# 2.0 is fine for me. They should wait till 2012 at least before a new VS and they should let their new fancy features live or die in a sandbox for a couple of years before they unleash it on us.

                                      K 1 Reply Last reply
                                      0
                                      • C Christian Graus

                                        Member 1709723 wrote:

                                        i am still hoping that if i continue to ignore wpf it will die the slow horible death it deserves ( not sure i will succeed on this one)

                                        What makes you say that ? It has issues, but it's the nicest way to create compelling UI right now.

                                        Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

                                        V Offline
                                        V Offline
                                        Vikram A Punathambekar
                                        wrote on last edited by
                                        #28

                                        Christian Graus wrote:

                                        [WPF is] the nicest way to create compelling UI right now

                                        OK, either you missed the joke icon, or.... who are you, and what did you do to the real CG? :suss:

                                        Cheers, Vikram. (Proud to have finally cracked a CCC!)

                                        Recent activities: TV series: Friends, season 10 Books: Fooled by Randomness, by Nassim Nicholas Taleb.


                                        Carpe Diem.

                                        1 Reply Last reply
                                        0
                                        • J Judah Gabriel Himango

                                          Marc Clifton wrote:

                                          Parallelization, when I looked at the TPL, it seemed cute, meaning it's easy to parallelize a for loop, but if you really need to work with threads to utilize processors and you really have real work that can be parallelized, then I think TPL is too simplistic

                                          I hope you give it a fair try, it's really so much more than parallelizing loops.

                                          Religiously blogging on the intarwebs since the early 21st century: Kineti L'Tziyon Judah Himango

                                          M Offline
                                          M Offline
                                          Marc Clifton
                                          wrote on last edited by
                                          #29

                                          Judah Himango wrote:

                                          I hope you give it a fair try, it's really so much more than parallelizing loops.

                                          I will definitely look at it again with .NET 4.0. But should I expect anything different from what I wrote about already here?[^] Marc

                                          Will work for food. Interacx

                                          I'm not overthinking the problem, I just felt like I needed a small, unimportant, uninteresting rant! - Martin Hart Turner

                                          N J 2 Replies Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups