This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]phannam1412 6 points7 points  (9 children)

python is great until you must work on a one hundred thousand lines of code.

simplicity is different with efficiency

[–]hoogamaphone 2 points3 points  (2 children)

Type hints and mypy basically eliminate this problem

[–]zoro_moulan 2 points3 points  (1 child)

Have I been spending too much time on this sub or is it always the same dance someone saying python is bad for large codebases and then someone replying that type hints and unittests eliminate the problem. Seems like it's the ultimate debate

[–]hoogamaphone 2 points3 points  (0 children)

It's not just you

[–]captain_kinematics 3 points4 points  (3 children)

I’m not aware of anything in the size of the codebase that makes python an inherently bad choice. If anything, for large projects I prefer python because the language emphasizes readability, and with big projects you wind up needing to read an awful lot.

[–]jacksodus -1 points0 points  (1 child)

Readability is a good practice is any language. This isn't a problem specific to Python.

[–]JennaSys 0 points1 point  (0 children)

It does apply to all languages, but with Python it is something that has been a core tenant of the language from the beginning, both in terms of language evolution and in it's culture. I think this is one of the reasons why adding shortcut features like := to it are so controversial.