Skip to content

Commit

Permalink
Update index.md (#722)
Browse files Browse the repository at this point in the history
  • Loading branch information
crs1138 authored Oct 1, 2023
1 parent f17ed48 commit 87de5a0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ If the argument passed to it meets these requirements, `printCar` is happy.

"Duck typing" gets its name from the "duck test".

> “If it looks like a duck, swims like a duck, and quack like a duck, then it probably is a duck”.
> “If it looks like a duck, swims like a duck, and quack like a duck, then it probably is a duck.”
In practice, this is very similar to structural typing, but "Duck typing" is usually
used to describe dynamic type systems.
Expand Down

0 comments on commit 87de5a0

Please sign in to comment.