7 points | by kqr 3 days ago ago
5 comments
> Rust programmers can take advantage of the srgb crate
I don’t like the NPMification of Cargo. Do you really need to pull in a dependency for something like this?
Why not? Why is it better to copy and paste code from stack overflow than to pull in a dependency that does the same thing?
You can only pick the parts that you need and aren't now exposed to a supply chain attack. You can also easily adapt the code to your needs easily, especially as your needs change.
https://www.youtube.com/watch?v=PAAkCSZUG1c&t=568s
OT: Is that a unicode double-ended arrow in the post title on HN? Or is my DDG browser doing funny stuff?
Anyway, it’s out of place on the front page.
Edit: this reads a bit more complainy than I intended. Meant to be an observation.
> Anyway, it’s out of place on the front page.
Why?
> Rust programmers can take advantage of the srgb crate
I don’t like the NPMification of Cargo. Do you really need to pull in a dependency for something like this?
Why not? Why is it better to copy and paste code from stack overflow than to pull in a dependency that does the same thing?
You can only pick the parts that you need and aren't now exposed to a supply chain attack. You can also easily adapt the code to your needs easily, especially as your needs change.
https://www.youtube.com/watch?v=PAAkCSZUG1c&t=568s
OT: Is that a unicode double-ended arrow in the post title on HN? Or is my DDG browser doing funny stuff?
Anyway, it’s out of place on the front page.
Edit: this reads a bit more complainy than I intended. Meant to be an observation.
> Anyway, it’s out of place on the front page.
Why?