deft flux

A portal into the creative workings of David Meyer

About the author

David Meyer (a.k.a. "deft flux") is a software developer fluent in C#, C++, Java and others. He also programs in his spare time and enjoys playing instruments and making electronic music.
E-mail me Send mail

Recent comments

Authors

Disclaimer

The opinions expressed by the author are his alone and do not represent any other person or organization unless stated otherwise. The opinions given in comments are solely those of the person who wrote the comment and are not necessarily the opinions of the author of this site. The author of a post is not responsible for the content of its comments.

© Copyright 2008
David Meyer

Duck typing project under development

It has been quite some time since the last release...  (10 months to be precise...)  But a good friend of mine is now onboard and we're resuming development.  We have some pretty cool changes in store, and as always, suggestions are welcome.

We will be tying some loose ends for version 1.0 and rolling in some new features like "loose" duck casting where casting will always succeed, it will simply throw an exception if a member is called that is not implemented, which will more closely resemble how duck typing is implemented in most dynamic languages.  Then we'll be working on 2.0 which will include a name change to something along the lines of "dynamic typing" instead of "duck typing" to reflect the implementation of more dynamic typing concepts than just duck typing.  2.0 will also add some .NET 3.5 features like extension methods.

But I've only scratched the surface...  Just thought I'd give everybody an update!

Currently rated 5.0 by 1 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Posted by deftflux on Monday, July 21, 2008 5:33 PM
Permalink | Comments (4) | Post RSSRSS comment feed

Related posts

Comments

Jonathan us

Wednesday, July 23, 2008 5:49 PM

Gravatar

Do you two have plans to host this project at a source repository like CodePlex.com?

Also, I think keeping Duck Typing in the project name is important to maintain some identity and a ready understanding of what this project is about. Sure, add some dynamic typing features, but "duck typing" is something that is more easily and commonly understood, an important feature to growing and expanding this important project. Once you're famous, it doesn't matter what your name is (e.g., moveon.org).

deftflux us

Wednesday, July 23, 2008 8:18 PM

Gravatar

We have no plans as of yet, but it is definitely something I would consider.

As for the name, the idea behind the change is to broaden the developer audience and reflect the broader scope that the project has come to have. There is more than one "duck typing" library for .NET available, and most of them simply implement duck typing and that's it. This library may be seen as just another one of those libraries at first glance. I'll be sure to feature duck typing prominantly wherever the library is hosted, however. This project did start out as just another duck typing library, though, but it has expanded to include other dynamic typing concepts like covariance/contravariance of class members. So really, duck typing isn't the only thing this library is all about now. Also, I'm not looking for fame or fortune, and in technical terms, dynamic typing is a more appropriate name anyway.

I do appreciate your input, though. From a marketing standpoint, it makes sense to keep the name, but at the very least, the names of the namespaces and classes will change so that code written with the library will be cleaner. As I mentioned, though, this change will not take place until version 2.0. All changes for version 1 will remain completely backwards-compatible. If we choose to remove the old namespaces and classes after the name change for 2.0, any necessary changes will be able to be made with simple find and replace commands.

rhnatiuk.wordpress.com

Sunday, August 03, 2008 10:56 AM

pingback

Pingback from rhnatiuk.wordpress.com

Duck Typing Project « Roman’s Blog

Luke Venediger za

Saturday, September 27, 2008 12:42 PM

Gravatar

Hey David, I'd like to submit a patch that improves the error message you get in DeftTech.DuckTyping.InterfaceDuckProxyType.ImplementMethod when the property exists (by name) but is not of the correct type. At the moment the error reports that the method doesn't exist (which is a bit misleading).

Do you know when the code will be up on a repository like codeplex or googlecode?

Thanks,
Luke

Add comment


(Will show your Gravatar icon)  

  Country flag




Live preview

Friday, November 21, 2008 8:47 AM

Gravatar