Share via


Anders Hejlsberg Video on C# Dynamic

In this Channel 9 video C# architect Anders Hejlsberg answers some commonly asked questions about the new Dynamic features that will be included in C# 4.0. Building on the talk that he gave at PDC,  Anders chats with C# Community PM Charlie Calvert. They discuss questions that community members have asked and riff on themes of import to developers who have been following the latest news from the C# team.

 

Entry Media

 

kick it on DotNetKicks.com

Comments

  • Anonymous
    November 12, 2008
    You've been kicked (a good thing) - Trackback from DotNetKicks.com

  • Anonymous
    November 15, 2008
    I am new to programming. I have started programming with c# 3.0 with .Net Framework 3.5. I am discouraged by the fact that a new version of c# and .Net Framework is already coming out. I am not sure if I should keep on studying the current version of the language and .Net Framework or wait until teh new versions are released. Please Advise. Thank you. Best Regards.

  • Anonymous
    November 15, 2008
    I wouldn't worry about it too much Peter. Just learning the core parts of the language (control statements, manipulating primitive types, inheritance, File I/O, passing data with constructors - delegates - properties - objects, etc...) is a great place to start. After you have mastered these initial steps, moving upwards towards any language will be easier. I think you made a great choice by choosing C#.

  • Anonymous
    November 15, 2008
    i love all the new features in c#, and I have been programming for 30 years, c, c++, list, VB. and now c# is one I like best.  One thing that is missing is a macro language, a way to simplify code that gets type over and over.  iDymanic goes a way to simplify that.  Any thoughts on adding an simple marco language to dynamically generate common code?

  • Anonymous
    November 15, 2008
    i love all the new features in c#, and I have been programming for 30 years, c, c++, list, VB. and now c# is one I like best.  One thing that is missing is a macro language, a way to simplify code that gets type over and over.  iDymanic goes a way to simplify that.  Any thoughts on adding an simple marco language to dynamically generate common code?

  • Anonymous
    November 16, 2008
    The comment has been removed

  • Anonymous
    November 16, 2008
    Hi, Can you provide a WMV download link? Thanks.

  • Anonymous
    November 16, 2008
    Steve, Try looking into code snippets. They go a great way in helping you recycle code...

  • Anonymous
    November 17, 2008
    Where are you taking us andres with all these new features and releases ? I think we (the developers) need a break to learn all of that and apply it and oversee our next steps. this is too much evolution for a programming language over the past 3 years.

  • Anonymous
    November 18, 2008
    Uh, finally, i loooove the new goodies, i wish i had these when i was writing my .net wrappers for office automation. Also the compiler as a service is soo cool. Kudos!

  • Anonymous
    November 20, 2008
    I think is too much for a language and many developers will gave up with c# like i will certainly do. In 3 years you changed the language at least 3 times. It's not normal. I think that if you want more C# developers you should stop making changes to language. otherwise you will loose many programmers... Cheers, Alex

  • Anonymous
    November 20, 2008
    Anders, First let me say that I'm a huge fan of yours.  I came to C# about 10 years ago from the Java / Unix world and since then I've never been happier!   I've really been impressed with the thought and creativity that has gone into the .NET framework.  The latest version of the Framework is completely awesome!  I love LINQ and I'm especially looking forward to the improvements that are coming in the 4.0 release. (The System.AddIn namespace is also a great addition to the language). Keep up the good work and thanks for helping to create such an awesome product!   All the best, -Joe

  • Anonymous
    November 21, 2008
    those of you mentioning the laguage "changes" and not keeping up are taking this out of context. First, for the new programmers starting with 3.0. If you are overwhelmed by the new changes you are in for a world of hurt. If this is a hobby, no biggie. If this is a chosen career.. be prepared to always be a step behind the curve... For those that think changes (addittions) are not normal, I suggest you look at other language specifications. Languages change, morph, items are added, removed etc. it happens to all of them. The ones that are not changing are old laguages that have already gone through decades of change. This is something that will continue forever.

  • Anonymous
    November 23, 2008
    The comment has been removed

  • Anonymous
    November 24, 2008
    I agree with my friend.. Just give us a little time to catch up all of these new features..Why you are in such a hurry like that :) please slow down let us catch you guys.. Anyway, nice video.. Thanx

  • Anonymous
    November 25, 2008
    To all of you people complaining about the language changing to fast ... you have to understand why.  The dynamic features of the language will make it easier to use C# 3.0 features that you are having trouble learning or leveraging fully now. For example, how do you pass anonymous types around to other methods?  How do you do two-way databinding from some entities merged together into an anonymous type and bound to a grid?  These are a couple of things that will be more easily addressed with the C# 4.0 features. There's at least a couple of years before C# 4.0 comes out, so just get up to speed on the existing language features before you judge what's coming in 4.0.

  • Anonymous
    November 25, 2008
    The comment has been removed

  • Anonymous
    November 26, 2008
    Dear Sir Is there any guidence avalible for learners of C#, Visual studio.net 2008 and dot net framework 3.5, regarding from where any on start and which books are for begginers and which are for intermediate learners and which are for expert. Is there any path? I wish to appear in MCTS EXAM - 70-536 bhaveshdave@ymail.com

  • Anonymous
    December 01, 2008
    From the explanation given, is it fair to say that Dynamic is analagous to Late Binding vs Early Binding?

  • Anonymous
    December 01, 2008
    I can see where marksammi is. It would be good to see what the differentiator is.

  • Anonymous
    December 02, 2008
    does the new stuff  1. makes the applications faster (probably not)  2. solve any new problems (nope)  3. simplifies things (no)

  • Anonymous
    December 02, 2008
    hi , I am Iranian programmer and I have many problem with catch new microsoft's products and lerning new feature . Are you think  I need C# 4.0 and new features and it help me in my work ?

  • Anonymous
    December 07, 2008
    Developers (at least Microsoft developers) are put at a distinct disadavantage compared to other trades/professions because they never have a chance to get truly proficeint with any one toolset. Thats why new technologies and features no matter how cool and clever are greeted with ambivalence. When technolgy changes to quickly, the potential productivity gains are mostly offset by the learning curve. I dont speak for the true geeks, just the everyday developer who has real world deadlines to meet.If Microsft was truly concerned about empowering their target audience, they would focus more on producing tools which encouraged good application design based on best practices rather than endless barrage new ways to accomplish basically the same thing.

  • Anonymous
    December 08, 2008
    Many o fthose new features have been in Adobe ActionScript 3.0 for the past years. Such as dynamic objects; it's imply a given in Adobe Flex and Air development. But hey: Gotta love Microsoft for moving along with the rest of us. :-)

  • Anonymous
    December 10, 2008
    It is interesting to see so many posts commenting on the tumult of changes in C#.  I've had this conversation a few times with my peers.  Most of us despise changes that bring no new funcitonality or spped, but are just a new way of doing the same thing.  It seems a waste, and it needlessly divides the programmers community.   I've been programming for 30 years - since I was 14.  I love prohgramming, and I love learning new API's and platforms.  But I am also practical, and I realize I am programming for a reason - to provide solutions to business problems.  I can't do that when the technology is constantly changing.   Sure, I realize languages evolve, in order to adapt new needs, such as accomodating XML or HTTP.  But to continuously revamp the API just so you can say "gee, look at this new way" is unproductive.  One of my old Vice Presidents used to say people doing that were "spinning their propellers", speaking of the propeller beanie caps, and somehow evoking the image of someone lost in their own world. I mean - should I spend significant time learning WPF?  or XAML?  Or Silverlight?  Which one will still be around next year?  Which one will be replaced by Anders' next fart?  How do I protect my resume?   I don't care how great of a geek you think you are, there is no way you can be proficient in a language and platform that is as large as C#.Net. I agree that Microsoft needs to be more selective with their advances.  Stop trying to impress everyone with how rapidly you can resurface the API.   I notice the VB.Net team has surpassed the C# team in producing IDE funcitonality that makes the programmer more productive.  If the C# team wasn't wrapped up in reinventing everything, maybe they'd have intellisense for XML and the many other feature with which the VB.Net team has leapfrogged them. Having said all that, I love C#, it blows away Java.  I spent 6 years coding Java/J2EE, EJB's and all that.  

  • Anonymous
    December 11, 2008
    The comment has been removed

  • Anonymous
    December 12, 2008
    The comment above mine is a real encouragement to me.  To put it in Mommyspeak (sorry but I'm a mom) - just because there are all kinds of advanced cycling technology out there, doesn't mean my tot has to start there.  He'll start on a trike, then advance to a simple bicycle and if and when he's so inclined, he'll advance to other types of bicycles (or horrors - a motorcycle) depending on his needs and wishes. I feel overwhelmed at times as a software developer but now, not so much.  I need to concentrate on being the very best with the tools at hand while constantly educating myself.  As I learn, I can decide what new tools I need to become proficient at to become more productive and/or raise the standards of my work.

  • Anonymous
    December 12, 2008
    The comment has been removed

  • Anonymous
    December 15, 2008
    The comment has been removed

  • Anonymous
    December 15, 2008
    I do agree that change in any direction is necessary.  C/C++ are great languages, but they do not open the doors to flexible programming that C# and other languages that work to implement new concepts and technologies. However, I do think there is a time to slow the pace.  If it was my job to stay on top of technology and learn every new thing that ever came out, this would be fine.  However, every hour of my job is earning money for my company, and every hour spent having to learn new things is taking money away.  Additionally, there's no way I'm going to dedicate that much time to learning new things that are going to rapidly change again.  That may "put me behind the curve", but there is such a thing as a sensible studying. Thanks

  • Anonymous
    December 16, 2008
    The comment has been removed

  • Anonymous
    December 16, 2008
    The comment has been removed

  • Anonymous
    December 28, 2008
    Dear sir, I have often seen the link of C# and .net version. I think this make no matter whether one use .net 2.0 or any other version with c# programming.I am also a C# programmer. please release my confusion as possible.

  • Anonymous
    January 06, 2009
    The comment has been removed

  • Anonymous
    January 06, 2009
    I'm not sure why people are complaining about so many changes. If you don't like them then don't use them. You can still use the same core features of C# as you could in version 2.0 for example. I think its great that the language I chose several years ago when it had only just come out as evolved into something so great. Many businesses are now using C# compared to VB.NET. This isn't a coincidence.

  • Anonymous
    January 17, 2009
    Mr.Anders Hejlsberg  I respect you, We need book about C# 4.0 written by you.

  • Anonymous
    January 19, 2009
    c# is just a java clone with few additions.

  • Anonymous
    January 25, 2009
    The comment has been removed

  • Anonymous
    January 29, 2009
    iDynamics sounds fantastic. I haven't really gotten into the details of it yet. First time I heard and read some samples, it dawn on me this maybe what may solve my problem on lack of dynamic Type Factories/consumption in c#. Maybe not, however it sounds getting closer. Well, my intention is not to discuss what I just mentioned so I'll move on... :) Thank you very much for the cool features the c#(and .net framework) team had given us across the years. I greatly appreciate all of these. I am using a fantastic language and a fantastic framework. However, let me jump to my main question: Is there "progress" going on in the Optimizing compiler arena? I am hoping someday the end-to-end process of c# compilation to MSIL and JIT compiler compilation to machine code WILL approach or proximate the level of Optimization generated by the c++ optimizing compilers available. I can imagine this, with enough facility provided in generated MSIL, that the JITter can take advantage of, we can probably create an overall sln that can do this. For now, since nothing really beats c++ to this, most projects still get written and will continue to be so using c++. Anyway, thank you very much again for delivering fantastic feature set for us, across these years mr. Anders! -Gerardo Recinto

  • Anonymous
    February 23, 2009
    If you have any C# 3.0 video tutorials please send your  reply to manojkavali@gmail.com I need it ASAP Regards Manoj

  • Anonymous
    March 12, 2009
    I am a c++ programmer. I have been hearing the buzz of c# around all the corners. I want to give it a try; need a nice book that will help me to jumpstart. Your suggestion will be helpful - which book? c# version? Thanks    

  • Anonymous
    March 12, 2009
    I am a c++ programmer. I have been hearing the buzz of c# around all the corners. I want to give it a try; need a nice book that will help me to jumpstart. Your suggestion will be helpful - which book? c# version? Thanks    

  • Anonymous
    April 30, 2009
    Hi How can I communicate with a serial camera and save pictures and video by c#? is there any class?