﻿<?xml version="1.0" encoding="utf-8"?><rss version="2.0"><channel><title>Ayende @ Rahien</title><link>http://ayende.com</link><description>Ayende @ Rahien</description><copyright>Copyright (C) Ayende Rahien  2004 - 2021 (c) 2026</copyright><ttl>60</ttl><item><title>Stefan Wenig commented on If it walks like a duck and it quacks like a duck</title><description>Arne,
  
I believe there is some COM-interop magic in C# that handles duck typing, it might be possible to abuse it in order to target IQuackFu or the DLR. But then again, this magic might be best forgotten...
  
Stefan
</description><link>http://ayende.com/3064/if-it-walks-like-a-duck-and-it-quacks-like-a-duck#comment8</link><guid>http://ayende.com/3064/if-it-walks-like-a-duck-and-it-quacks-like-a-duck#comment8</guid><pubDate>Fri, 28 Dec 2007 11:07:33 GMT</pubDate></item><item><title>Arne Claassen commented on If it walks like a duck and it quacks like a duck</title><description>I do wish IQuackFu or its equivalent were supported in C#. It seems like a relatively simple compiler modification and even Intellisense support for it (i.e. just not complain on any call for a IQuckFu implementer) doesn't seem too hard.
</description><link>http://ayende.com/3064/if-it-walks-like-a-duck-and-it-quacks-like-a-duck#comment7</link><guid>http://ayende.com/3064/if-it-walks-like-a-duck-and-it-quacks-like-a-duck#comment7</guid><pubDate>Sat, 22 Dec 2007 16:08:33 GMT</pubDate></item><item><title>Ayende Rahien commented on If it walks like a duck and it quacks like a duck</title><description>jr76,
  
Well, because it quacks like a duck and to use it you have to know some Boo Fu fighting.
  
  
I don't think that this is a reasonable amount of levity in a language is to be discourage. 
</description><link>http://ayende.com/3064/if-it-walks-like-a-duck-and-it-quacks-like-a-duck#comment6</link><guid>http://ayende.com/3064/if-it-walks-like-a-duck-and-it-quacks-like-a-duck#comment6</guid><pubDate>Fri, 21 Dec 2007 18:53:05 GMT</pubDate></item><item><title>jr76 commented on If it walks like a duck and it quacks like a duck</title><description>I love the "method missing" concept, but why did boo decide to name the interface "IQuackFu"?  I may just be boringly conservative, but I think that silly names tend to work against a language being taken seriously, and although I haven't actually used boo, from what I've read on your blog I would love to see it gain wider acceptance.
</description><link>http://ayende.com/3064/if-it-walks-like-a-duck-and-it-quacks-like-a-duck#comment5</link><guid>http://ayende.com/3064/if-it-walks-like-a-duck-and-it-quacks-like-a-duck#comment5</guid><pubDate>Fri, 21 Dec 2007 18:47:42 GMT</pubDate></item><item><title>Ayende Rahien commented on If it walks like a duck and it quacks like a duck</title><description>Stefan,
  
Sorry, I was wrong.
  
Yes, it looks like it does the same thing.
</description><link>http://ayende.com/3064/if-it-walks-like-a-duck-and-it-quacks-like-a-duck#comment4</link><guid>http://ayende.com/3064/if-it-walks-like-a-duck-and-it-quacks-like-a-duck#comment4</guid><pubDate>Fri, 21 Dec 2007 16:17:13 GMT</pubDate></item><item><title>Stefan Wenig commented on If it walks like a duck and it quacks like a duck</title><description>So how would Ruby code call a Python method if there was no common interface for dynamic calls? Just browsed through Jim Hugunin's blog, I think IDynamicObject is it:
  
http://blogs.msdn.com/hugunin
</description><link>http://ayende.com/3064/if-it-walks-like-a-duck-and-it-quacks-like-a-duck#comment3</link><guid>http://ayende.com/3064/if-it-walks-like-a-duck-and-it-quacks-like-a-duck#comment3</guid><pubDate>Fri, 21 Dec 2007 12:53:53 GMT</pubDate></item><item><title>Ayende Rahien commented on If it walks like a duck and it quacks like a duck</title><description>Stefan,
  
I highly doubt that it would. The DLR is just the platform, the policy, the part that decide how to do the method dispatch, is in the language hands.
</description><link>http://ayende.com/3064/if-it-walks-like-a-duck-and-it-quacks-like-a-duck#comment2</link><guid>http://ayende.com/3064/if-it-walks-like-a-duck-and-it-quacks-like-a-duck#comment2</guid><pubDate>Fri, 21 Dec 2007 12:45:23 GMT</pubDate></item><item><title>Stefan Wenig commented on If it walks like a duck and it quacks like a duck</title><description>I haven't checked, but I'd be surprised if the DLR would not already support such a mechanism ("already" is a bit much for a prerelease that has its design changed on a daily basis, but you get the idea. but still, that would give you cross-langugage capabilities, while IQuackFu would not)
</description><link>http://ayende.com/3064/if-it-walks-like-a-duck-and-it-quacks-like-a-duck#comment1</link><guid>http://ayende.com/3064/if-it-walks-like-a-duck-and-it-quacks-like-a-duck#comment1</guid><pubDate>Fri, 21 Dec 2007 08:54:46 GMT</pubDate></item></channel></rss>