4 ms·
Please don't use Python package management as a baseline. Aim higher. I love Python, but I cringe whenever someone asks me why a Python program isn't running p
by drunkpotato 5y ago
Please don't use Python package management as a baseline. Aim higher.
I love Python, but I cringe whenever someone asks me why a Python program isn't running properly on their machine. Obligatory xkcd: https://xkcd.com/1987/ https://xkcd.com/1987/
- sdwr 5y agoFunny how feelings change. https://xkcd.com/353/ https://xkcd.com/353/
- AdrianB1 5y agoTake PHP with composer: it works quite fine, but still you need all the dependencies downloaded from somewhere on Internet. Just a PHP script and the PHP interpreter works, but this is not how 99.9% of the software is written.
- kilburn 5y agoThe php world invented the phar format [1] to deal with the single file tool/app distribution issue. In fact, composer uses dependencies managed by itself in their sources. Then it gets packaged and distributed as a single file that includes all dependencies (composer.phar). That single file can be run by php as if it was any regular php file (including executing it directly and letting your system detect the required interpreter through the shebang). https://www.php.net/manual/en/intro.phar.php https://www.php.net/manual/en/intro.phar.php
- AdrianB1 5y agoSelf quote: this is not how most apps are written.