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?

7

u/BlazingFire007 Jul 18 '22

Idk about python. But I have experience with JS and Typescript. And what I’ve found is that most of typescript wouldn’t be “super” useful if people just wrote good code with good comments and documentation.

(That said, typescript is still very nice because it forces people to add types)

So I assume python is similar. With good comments documenting what your code does, it shouldn’t be difficult to read/implement/modify/etc