|
|
|
|
|
by ReflectedImage
877 days ago
|
|
I've seen both the statically typed Python 1Mloc monolithic and the ducked typed 1Mloc micro-service based approach in practice. I'm telling you the ducked typed micro-service based approach is the way to go. But you sort of know that "not to write a 2Mloc server in Python", don't you? If we encourage developers to use static typing they will be writing 2Mloc monolithic servers. That's just the type of code that static typing encourages. Encouraging static typing in Python is putting them down the path of disaster. |
|
"If we encourage developers to use static typing they will be writing 2Mloc monolithic servers."
I don't even know where to begin with this wild assertion. Ill-advised as it was, Dropbox wrote its two million line server long before typed Python even existed. I wasn't around when they started cracking it up (see blog post below), but I strongly suspect the type annotations in the codebase helped rather than hindered that effort.
https://dropbox.tech/infrastructure/atlas--our-journey-from-...