I would have thought that Go would be perfect for this sort of system-level-like programming ?
How we rolled out one of the largest Python 3 migrations
11–20 of 141 posts
Re: How we rolled out one of the largest Python 3 migrations
#12Interesting write-up, though it leaves me terrified how a relatively small, more or less single purpose application like the Dropbox client has over 1 million lines of code in Python alone.
There is a reason why it is so much better than iCloud sync, Google Drive, Box or OneDrive.
Re: How we rolled out one of the largest Python 3 migrations
#13Re: How we rolled out one of the largest Python 3 migrations
#14Re: How we rolled out one of the largest Python 3 migrations
#15I would have thought that Go would be perfect for this sort of system-level-like programming ?
Go code is about ~30% more verbose than equivalent python.
Re: How we rolled out one of the largest Python 3 migrations
#16Earlier quoted context omitted.
Go code is about ~30% more verbose than equivalent python.
Wow, I wouldn't have expected that. Do you have a reference for the 30%? I'd like to see what is going on to cause that big of a difference.
if err != nil {
... error handling ...
}
Python just uses exceptions, and they bubble up. No need for this excessively verbose error checking.Re: How we rolled out one of the largest Python 3 migrations
#17What happened to their new implementation of Python they were building? I know it was cancelled, but not really why.
https://blog.pyston.org/2017/01/31/pyston-0-6-1-released-and...
Re: How we rolled out one of the largest Python 3 migrations
#18Interesting write-up, though it leaves me terrified how a relatively small, more or less single purpose application like the Dropbox client has over 1 million lines of code in Python alone.
Re: How we rolled out one of the largest Python 3 migrations
#19Re: How we rolled out one of the largest Python 3 migrations
#20Earlier quoted context omitted.
Wow, I wouldn't have expected that. Do you have a reference for the 30%? I'd like to see what is going on to cause that big of a difference.
Every other 5 lines being the equiv of: if err != nil { ... error handling ... } Python just uses exceptions, and they bubble up. No need for this excessively verbose error checking.
Go is more verbose. It also gives you the wonder of the compiler telling you about doing stupid things. That doesn't make it a worse language.