News for hackers. Stuff that matters.
Re:TypeScript for Pythonistas by RedNifre on Friday December 17, 2021 @04:43PM (#29598699)
I'd say structural typing is static typing (you declare the shape you want upfront), whereas duck typing is dynamic typing (it works as long as it fits, as soon as it doesn't it crashes).

There are no comments on this comment yet.