profile

Categories

Tags

Welcome!

You'll find my course content and collaborative discussion about technology.

I teach as an adjunct faculty in the Computer Information Systems department at Spokane Community College

Email

kblake DOT scc AT gmail DOT com

Presentations/Interviews

RubyLearning.com interview
Course Technology - Ruby on Rails Presentation



Duck Typing

March 4th, 2008 |

Source code

2 Responses to “Duck Typing”

  1. Lynn Says:
    Could this be considered polymorphism?
  2. Karmen Says:
    Duck typing, technically, is not polymorphism however it kind of looks like it doesn't it. Polymorphism is tied to typed languages and requires inheritance or an interface to achieve similar results. This is still very bound to a typed system. Duck typing does not require inheritance, I just happen to use it in this example. Duck typing is one of the many benefits of dynamic typing.

Sorry, comments are closed for this article.