Earlier quoted context omitted.
The only problem with that is it's hard to keep the dependencies up to date. Pip-tools solves this problem.
Why do you want to update your dependencies if they work? Isn't the whole point of dependency management to avoid using different versions of dependencies than the ones they have been tested on?
Python Is Eating the World
521–530 of 993 posts
Re: Python Is Eating the World
#522Earlier quoted context omitted.
I've always seen it like this: Not everyone builds reproducible software with Python (or in general) and how you handle dependencies can vary. Python leaves it open how you do it: globally installed packages, local packages, or a mix of both. In the end, it needs to find the import in the PYTHONPATH, so there's no magic involved, and there are multiple robust options to choose from. So instead of bashing Python for n…
> Python leaves it open how you do it Are you saying “There’s more than one way to do it”?
Re: Python Is Eating the World
#523Re: Python Is Eating the World
#524Earlier quoted context omitted.
Isn't it also just as much about Python is having it's day, granted a day long in the waiting but many langs go through this (Ruby, PHP) and then it tapers off and the next language has it's day. Probably Go will be the next hotness in 5 years.
> Probably Go will be the next hotness in 5 years. I think it will be difficult to grow a large ecosystem for a language with very poor FFI performance [0] in the long run. Golang's poor FFI performance is the number 1 reason I wouldn't use it for my own projects. [0]: https://github.com/dyu/ffi-overhead
After using Go almost exclusively for about 18 months I have had to interface with existing C libraries exactly zero times.
Re: Python Is Eating the World
#525Earlier quoted context omitted.
I think ruby is alive and well for a lot of startups. I do think it is being squeezed on three sides though. * From javascript. If you have a app like front end, you are going to use js. Why not have the whole stack be js and have your developers use only one language. * From python for anything web + data science. Again, why not have your whole stack be in one language? * From lack of hype. Rails is still evolving,…
"From JavaScript" also includes another side: When your frontend is in JS, your backend can be a simple REST API. And building a REST API requires much less framework than building a server-side-rendering webapp does, so it's tempting to use Go or Rust or whatever you like.
Re: Python Is Eating the World
#526Holy Crap! What a lot of irrational, hyperbolic hate for Python. I think everybody should spend their first couple of years working in Fortran IV on IBM TSO/ISPF. No dependency management because you had to write everything yourself. Or maybe [edit: early 90's] C or C++ development where dependency management meant getting packages off a Usenet archive, uudecoding and compiling them yourself after tweaking the config…
I think it's pretty disappointing that most of the top comments don't talk about the interview with Guido himself over the history of Python. Tangentially related discussion is one of the appeals of HN but I think it's a bit out of control here.
And of all the bugs I have written in recent memory, not one came down to a lack of static typing. They were due simply to logic errors, flawed assumptions, misunderstood requirements, and good old race conditions. The static typing zealots like to think if it compiles is must be perfect, however this is a mirage. Unit tests in Python can compensate quite well for lack of static typing.
Re: Python Is Eating the World
#527Holy Crap! What a lot of irrational, hyperbolic hate for Python. I think everybody should spend their first couple of years working in Fortran IV on IBM TSO/ISPF. No dependency management because you had to write everything yourself. Or maybe [edit: early 90's] C or C++ development where dependency management meant getting packages off a Usenet archive, uudecoding and compiling them yourself after tweaking the config…
Re: Python Is Eating the World
#528Earlier quoted context omitted.
It's not that bad if you use the right tools. The two main options are an all-in-one solution like poetry or pipenv, and an ensemble of tools like pyenv, virtualenvwrapper, versioneer and pip-tools. I prefer the latter because it feels more like the Unix way. Why should Python have some "official" method to do this? Flexibility is a strength, not a weakness. Nobody ever suggests that C should have some official packa…
> Flexibility is a strength, not a weakness. "There should be one-- and preferably only one --obvious way to do it.": https://www.python.org/dev/peps/pep-0020/
Re: Python Is Eating the World
#529Earlier quoted context omitted.
Agreed. I really don't understand all these buckets filth being poured on Python in this thread. It's a first language I worked with in my life that just clicked with my brain and doesn't just drain me. I would take a Python job over a Java/C/C++/Go/Rust any day. There's some languages that could pull me away from Python (Nim, Crystal) but they're nowhere popular enough to move wholesale to them.
I've worked in so many languages and environments in my career and Django/python/virtualenv has to be one of the least painful. I tried Rails which is very similar but feels "inside out", a good friend of mine loves Rails and hates Django and has the exact same feeling about Django. That's kind of my point, you may like other environments better, such as React/Node/NPM but that doesn't mean Python is a horror show. I…
I feel there are benefits for every language. I am just curious if super stable and scalable conditions can be met on python.
Re: Python Is Eating the World
#530Earlier quoted context omitted.
Famous one: > There are two kind of languages: the ones everybody hates, and the ones nobody uses.
Slightly wrong. Here's the original: "There are only two kinds of languages: the ones people complain about and the ones nobody uses." Bjarne Stroustrup's FAQ: Did you really say that?. Retrieved on 2007-11-15.
However, I never saw any complaints about Clojure package management in any topic about Clojure here.