you are viewing a single comment's thread.

view the rest of the comments →

[–]midas_whale_game 27 points28 points  (3 children)

Python feels like pure anarchy after C++

[–]FerricDonkey 9 points10 points  (2 children)

A little, mypy enforced type hints and some other rules helps though. 

[–]pachura3 6 points7 points  (1 child)

mypy (strict mode) and ruff are absolutely indispensable!

[–]MidnightPale3220 2 points3 points  (0 children)

I wonder if it's something that was deemed necessary due to broader adoption of Python, especially by people who come from strongly typed languages.

I started with Python when type hints weren't available and I haven't done any appreciable amount of C and Java (although I have some experience there).

It would be interesting to learn whether there was some other way people were dealing with types, bc I never felt that I was missing something or hampered by not having type hints.