duck typing

duck typing definition - computer

In programming, assigning a type to a variable based on its contents. In other words, if it "walks like a duck and talks like a duck, etc." See typing.



Computer Desktop Encyclopedia THIS DEFINITION IS FOR PERSONAL USE ONLY
All other reproduction is strictly prohibited without permission from the publisher.
Copyright © 1981-2009 by Computer Language Company Inc. All rights reserved.

Comments
Improve this definition.
Do you have more to add? Share your linguistic knowledge or observation.
/Register to save your comments.