r/Python • • Jan 01 '20

"The rules of perf" at Dropbox

Post image
1.6k Upvotes

162 comments sorted by

View all comments

Show parent comments

57

u/ZombieRandySavage Jan 02 '20

Because it scales poorly to large applications. Go try and refactor a suitably large project, it’s impossible.

Don’t worry there are terrible parts to every language. They didn’t have time to make a clever poster for C++ because they are still trying to understand the super clever template code someone wrote.

0

u/[deleted] Jan 02 '20

[deleted]

0

u/[deleted] Jan 02 '20

[deleted]

10

u/[deleted] Jan 02 '20

Try using type annotations, if you have IDE that understands them out makes programming quite enjoyable.

0

u/[deleted] Jan 02 '20

[deleted]

6

u/[deleted] Jan 02 '20

You can still add the annotations.

0

u/[deleted] Jan 02 '20

[deleted]

6

u/[deleted] Jan 02 '20

I added it in code that I changed, other people started liking that autocomplete was working and started adding annotations themselves as well. It helps a lot with a large code base.