In 216, there was some talk of a desire to be able to "duck type" in a
type safe way (I think it was that episode). I believe its call
structural typing (I think traits were mentioned - but structural
typing is what was really meant).

Scala (of course) has this as someone guessed. You can specify that an
argument/parameter has a certain "shape" (ie list of method sigs) and
then anything that satisfies can be passed to it (in a type safe
way).

Of course, this must make IDE developers lives a whole lot of fun. And
by fun I mean hell. And by lives I mean no life (due to the amount of
effort it would take to help support this !).
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "The 
Java Posse" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/javaposse?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to