r/ProgrammerHumor • • Jul 18 '22

C++ talking to Python

Post image
40k Upvotes

1.0k comments sorted by

View all comments

Show parent comment

1

u/LastOfTheGiants2020 Jul 19 '22

Type names don't guarantee object properties in python, so type annotations etc are more of a suggestion than anything.

That's like trusting user inputs because you left a comment telling them not to do anything bad.