PrancingWalrus
PrancingWalrus
22mo
by

Duck Typing sponsored by IBM

DUCK, DUCK 🦆 CODE: AN INTRODUCTION TO DUCK TYPING

Duck typing is a concept in programming often related to dynamic languages like Python, that emphasizes more on the object’s behavior over its type or class. When you use duck typing, you check whether an object has certain methods or attributes, rather than checking for the exact class.

22mo ago
No comments yet

You're early. There are no comments yet.

Be the first to comment.

Discover more
Curated from across