Re:My Python Development Environment, 2018 Edition
by speedplane on Friday February 23, 2018 @04:43AM
(#16445271)
I think pretty much everyone would "prefer to use the standard library where possible". But try building a modern web app with that. No one uses libraries because they want to, they use b/c they need to.
[ Parent
| on HN ]
Re:My Python Development Environment, 2018 Edition
by falcolas on Friday February 23, 2018 @09:44AM
(#16446552)
> No one uses libraries because they want to, they use b/c they need to.
I'll have to respectfully disagree with this one. Everyone pulls in requests the moment they have to make any kind of http request for the sole reason that it's more ergonomic, not because it's "needed".
And requests brings in 4 of its own dependencies. Right there you've created a prime chance for everything to go sideways (and I've watched it happen explicitly with the requests library as it bolts on more and more ergonomic features).
For what it's worth, the last web app I built had a DB library from the OS vendor, flask, and gunicorn. All of which, since they were quite stable, never introduced library conflicts.