godot-docs icon indicating copy to clipboard operation
godot-docs copied to clipboard

Fix incorrect/misleading explanation of duck typing and dynamic typing in the static typing page

Open mateuseap opened this issue 2 years ago • 1 comments

What I did

  • Adjusted a incorrect/misleading explanation of duck typing and dynamic typing in the static typing page. I based myself on what is written on 'Accessing data or logic from an object' section of godot_interfaces.rst tutorial.

Fixes: #7763

mateuseap avatar Aug 27 '23 03:08 mateuseap

I think this needs to be rephrased even further. Also the currently proposed change makes it pointless to use Timer or any other specific type as an example. I think instead of removing the mention of base types they should be incorporated in a different way that supports the point about duck typing.

YuriSizov avatar Nov 09 '23 12:11 YuriSizov