Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Dependency management is a hot mess, agree.
https://lwn.net/Articles/920832/
I personally prefer Poetry, as it is imho the least amount of work.
Anything else is a PITA imho.
The zlib thing... Well. Welcome to the world of packaging.
Python has an *enormous* stdlib.
So enormous that most distributions decided to castrate it (e.g. a minimal python package, or worse a python package with not all stdlib modules).... Which is where it gets really really nasty.
The same goes sadly for e.g. PHP extensions...
That's though nothing that has directly to do with Python.... But a reason why I *hate* two things:
1) distribution who package castrated packages
2) the resulting necessity of e.g. self compile packages, leading to a wild hot mess of probably even more fuckity
*rolls eyes* -
@IntrusionCM well my solution was to just not do it in python and write a small c++ tool that parses my file and outputs the relevant data as matlab/octave code that I just copy into an octave script to plot
that was genuinely easier and faster to do -
@LotsOfCaffeine :)
Yeah. It's sad, but I can understand it.
Just for a funny anecdote...
I still sometimes write PHP in 3v4l.org, just cuz my brain can produce that code in an instant...
Or a small python app, cause a static java application with java -jar ... still makes me shiver, it feels wrong. XD -
@IntrusionCM Oh yeah same, I just wrote one cpp file and threw that into the compiler
Related Rants
Why is it that every time I want to make some dead simple script with Python it turns into the utmost awful programming experience?
Ah no you see you have to install this dependency but even if pip doesn't give you an error your script will still crash on import and vomit up some ugly back trace that doesn't tell you anything.
And then some retarded sub sub dependency wants to run on Python 2 and that has its entire own shithole of dependency hell.
And then for some unknown reason the Python installation wasn't compiled with zlib and some library wants it so you either you compile the entire thing yourself or idk go fuck yourself?
Why is this hot mess of a language still in use? I dont get it, it's easier to set up a cmake project with C++ for gods sake.
rant
python