I made a little badge you can use on your projects, and here are some words on why: https://www.tbray.org/ongoing/When/202x/2024/09/04/0dependencies
-
I made a little badge you can use on your projects, and here are some words on why: https://www.tbray.org/ongoing/When/202x/2024/09/04/0dependencies
-
@timbray Great, with Go easy, with Rust hard.
-
Mallory ๐ณ๏ธโโง๏ธ:freebsd_logo:replied to Tim Bray last edited by
@timbray Claims to have 0 dependencies, yet the README file has a dependency on an SVG hosted on a third party website ๐คจ
-
@jan Interesting: Why?
-
Tim Brayreplied to Mallory ๐ณ๏ธโโง๏ธ:freebsd_logo: last edited by
@mallory Joke noted but in fact you could host your own copy of the SVG file, I didn't copyright it or anything.
-
@timbray Go's standard library is much more comprehensive than Rust's.
-
@jan Ah yes I'm generally pleased with the breadth of Go's libraries and the quality of most of them. Didn't know that about Rust.
-
@timbray Love it! But why is it red?
-
@timbray I like this a lot. Two things.
1. Why not add a link to that page, pointing at one of the many excellent reduce-your-dependencies posts, such as your own https://www.tbray.org/ongoing/When/202x/2024/09/04/0dependencies ?
2. I added this to one of my projects https://github.com/MikeTaylor/catlogger โ then realised I have a dependency used only by tests. Does that count? Your page should probably be explicit about that, one way or the other.
-
Mike Taylor ๐ฆreplied to Mike Taylor ๐ฆ last edited by
@timbray Oh, and one more: the logo at https://camo.githubusercontent.com/c37db4fac2461d31a3ddce4d7d369f61850ffe08178fd7f8829c6b640241bafe/68747470733a2f2f30646570656e64656e636965732e6465762f30646570656e64656e636965732e737667 is rather alarming because it's red, which means danger. Dhn't you think green-for-go would be better?
-
@lgr (a) red=bad and dependencies are bad (b) all the other badges are green or blue, wanted to stand out
-
@mike (a) red=bad and dependencies are bad (b) all the other badges are green or blue, wanted to stand out
-
@timbray I understand that reasoning. But don't you think it's more important that people's first thought on seeing the badge will by "Oh no, something's wrong!"?
That's especially true when, as at https://github.com/openlibraryenvironment/categorical-logger/ , it's the only badge.
-
@mike You're failing to consider the possibility that I'm a trashy attention whore. Let me think about it; tbh the badge pleases my eyes, even on that otherwise-unbadged repo, but your point isn't crazy.
-
@timbray Done! Thanks! https://github.com/untangledco/streaming