4 ms·
If I had a penny for every time I gave up on compiling C++ software because there's no way to know what dependencies it needs, I'd be a millionaire. Python at l
by stavros 2y ago
If I had a penny for every time I gave up on compiling C++ software because there's no way to know what dependencies it needs, I'd be a millionaire. Python at least lists them.
- dgfitz 2y agoIf I had a penny every time I heard something like that on sites like this, I’d be a billionaire :)
- ahartmetz 2y agoIs that because the compiler failed with "foo.h not found" or the build system said "libfoo not found"? CMake is most common and it will tell you. Worst case it's difficult to derive the package name from the name in the diagnostic. It's not great, but usually not a big deal neither IME. Typically a couple of minutes to e.g. find that required libSDL2 addon module or whatever, if there is that kind of problem at all.
- stavros 2y agoYes it is, and it's usually such a big deal for me that I just don't use that software. I don't have time to go through a loop of "what's the file name? What package is it in? Install, repeat". This is by far the worst experience I've had with any language. Python has been a breeze in comparison.
- dgfitz 2y agoI’m not going to refute your points. If you’re going to wear rose-tinted glasses about all of the bad parts about python, that’s fine, I also like python.
- stavros 2y agoWhat's rose-tinted about "one of them downloads dependencies automatically, the other one doesn't"?
- cozzyd 2y agoI mean this is a documentation problem. It's pretty common for python to import something it doesn't say it depends on too, btw...