4 ms·
How so?
by Koshkin 5y ago
How so?
- xigoi 5y agoBecause you can't guarantee that every distro's package manager will have the packages you need.
- wheelerof4te 5y agoBuild them from source, then. Hare is a systems programming language. What kind of a systems programmer doesn't know how to build from source?
- bccdee 5y agoSo the solution is just vendoring? Vendoring is very clunky—that's why we have package managers in the first place.
- wheelerof4te 5y agoLanguage designers have every right to avoid complex features if such a feature impede the language in any way. Hare does the smart thing - it decouples the library distribution model from the language. After all, it's the programmers job to make sure that distribution and packaging of his/her library is as simple as possible.
- bccdee 5y agoEvery programmer should not be re-solving the problem of library distribution just to distribute their library. This is a solved problem; a go-style git repository model is the bare minimum that a language should have.
- xigoi 5y agoHaving to download several dependencies from random websiees and install them is not the most fun way to spend an afternoon. Especially if half of them have cryptic build errors.
- wheelerof4te 5y agoSo Github is a random website now? I think that Hare's workflow and usecase encourages having very few or no dependencies. That means, in most cases, you should just be able to download a project's source, build and use it right away.