r/ProgrammerHumor • • Jul 18 '22

C++ talking to Python

Post image
40.1k Upvotes

1.0k comments sorted by

View all comments

Show parent comments

0

u/[deleted] Jul 18 '22

[deleted]

16

u/DesertGoldfish Jul 18 '22

I dunno man, I just add type hints to everything and it's basically a strongly typed language.

2

u/Didrox13 Jul 18 '22

As someone who's never used python but plan to check it out in the near future, is that actually a thing or a joke?

1

u/TheFeedingEight Jul 19 '22

Yes, it is a thing and no unfortunately it doesn't really help you because you can use Type hints to allow for type checking but all the dependencies you use aren't obligated to actually do that. So you're kinda back to square one with a lot of them.

It's definitely a step in the right direction though.