Skip Navigation
Home
Home
Explore
Explore
Search
Apple macbook pro ear
Sign in
Sign in
Options
Help
Send Feedback
jinx
1 year ago
• 9 views
Report
"I have a dream that my four little objects will one day live in a program where they will not be judged by their class but by their methods and attributes"
-Martin Luther King
3
0
2
Comments
Paradock
1 year ago
Report Comment
sounds like OOP
0
1
jinx
1 year ago
(edited)
Report Reply
duck typing, a concept in dynamic languages
very useful to reduce dependencies in a class and make decoupled code
the name comes from : If it looks like a duck, swims like a duck, and quacks like a duck, then it probably is a duck.
1
Compose New Post
×
8192
Public
Public
Followers Only
Unlisted
Private
Upload
Add Option
1 day
1 day
2 days
3 days
4 days
5 days
6 days
7 days
8 days
9 days
10 days
11 days
12 days
13 days
14 days
Publish
8192
Upload
Publish
very useful to reduce dependencies in a class and make decoupled code
the name comes from : If it looks like a duck, swims like a duck, and quacks like a duck, then it probably is a duck.