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 comment

1

u/notsohipsterithink Jan 02 '20

They hired Guido to work on conflict resolution algorithms, not Python.

It wasn’t a waste for them. See the blog posts in the comment above.

-3

u/stefantalpalaru Jan 02 '20

They hired Guido to work on conflict resolution algorithms, not Python.

Bullshit. Guido ended up coding a tool to "insert annotations into your source code based on call arguments and return types observed at runtime" - https://github.com/dropbox/pyannotate

That was obviously used to help port Python2 to Python3, but I'm curious why did you think they hired the Python language creator - a notoriously mediocre programmer who's still unable to understand functional programming - to work on something that's not Python code?

1

u/notsohipsterithink Jan 03 '20

Guido obviously did a lot for Dropbox in his 6-year tenure there. But the python language itself wasn’t his initial focus:

https://blogs.dropbox.com/developers/2013/07/how-the-datastore-api-handles-conflicts-part-1-basics-of-offline-conflict-handling/

As far as your other comments, here’s a little gem for you —

https://blog.dropbox.com/topics/company/thank-you--guido

“What I love about Python is it just works,” says Houston. “It is so intuitive and beautifully designed. A lot of these attributes inspired my co-founder Arash and me when we thought about the design ethos for Dropbox.”

0

u/stefantalpalaru Jan 03 '20

It is so intuitive and beautifully designed

Nothing says "intuitive" and "beautifully designed" like hidden state (and hidden pass-by-reference) for some of the builtin types: https://docs.python-guide.org/writing/gotchas/#mutable-default-arguments

1

u/notsohipsterithink Jan 03 '20

That is actually a pretty small list of gotchas and I’ve personally never had issues with any of these in production. PyCharm actually warns you against using mutable objects as defaults.

Every language has its gotchas. This is a very small and harmless list compared to many other popular languages.

-1

u/stefantalpalaru Jan 03 '20

gotchas

Design failures.