News for hackers. Stuff that matters.
Re:Criticizing Hare language approach for generic data struc... by xigoi on Wednesday May 04, 2022 @09:19AM (#31259975)
Because you can't guarantee that every distro's package manager will have the packages you need.
Re:Criticizing Hare language approach for generic data struc... by wheelerof4te on Wednesday May 04, 2022 @06:27PM (#31266671)
Build them from source, then.

Hare is a systems programming language. What kind of a systems programmer doesn't know how to build from source?

Re:Criticizing Hare language approach for generic data struc... by bccdee on Thursday May 05, 2022 @01:18AM (#31269799)
So the solution is just vendoring? Vendoring is very clunky—that's why we have package managers in the first place.
Re:Criticizing Hare language approach for generic data struc... by wheelerof4te on Thursday May 05, 2022 @04:31AM (#31270963)
Language 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.

Re:Criticizing Hare language approach for generic data struc... by bccdee on Thursday May 05, 2022 @09:30AM (#31273061)
Every 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.
Re:Criticizing Hare language approach for generic data struc... by xigoi on Thursday May 05, 2022 @02:56AM (#31270409)
Having 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.
Re:Criticizing Hare language approach for generic data struc... by wheelerof4te on Thursday May 05, 2022 @04:16AM (#31270871)
So 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.