Link Details

Link 136255 thumbnail
User 111696 avatar

By bloid
via delahuntyware.blogspot.com
Published: Nov 26 2008 / 14:12

One of the many cool features available in Groovy is "Duck Typing". The phrase comes from "If it walks like a duck, if it talks like a duck then it is probably a duck".
  • 8
  • 1
  • 757
  • 168

Comments

Add your comment
User 357727 avatar

dzvoter replied ago:

-1 votes Vote down Vote up Reply

Hype and more Hype

User 357727 avatar

dzvoter replied ago:

0 votes Vote down Vote up Reply

Do we really need the 20 Groovy/Grails articles a day? If any other project does this it gets shot down!

User 179375 avatar

Ricky Clarkson replied ago:

0 votes Vote down Vote up Reply

Backup copy of a comment I left on the blog:

You might like Scala's structural typing then. It has all the performance of Groovy (it's slow because it uses reflection to get dispatch done) but if it's going to fail it'll fail at compile time.

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (8)



Voters Against This Link (1)