That doesn't have the nice declarative properties though. It doesn't guarantee the version installed (running it next week could give a different version), and removing an item from the list doesn't uninstall it.
Wilfred Hughes
2 Comments
Version guarantees is pointless for most people, unless you're a dev/tester, in which case you'd be using a dedicated container/sandboxed environment anyways. And how many people remove packages frequently that it's a big requirement? And if it is, it's simple enough to amend the script to do so:
If function f1 is unused, and f2 is only called from f1, Rust complains that both f1 and f2 are unused.
I find this confusing: it's useful to know that I can remove both functions, but removing f2 alone gives a compile error.
Not sure what the best tradeoff is though.
@aburka Thanks for the feedback!
Definitely agreed on ours vs theirs, it's really confusing. Unfortunately I'm limited to how the sides are named in the file.
I like the diff3 conflictStyle in git, as it shows the base as well as both sides. I can't guarantee that the base is visible though, and it gives me three files to diff rather than two. Not sure about this case yet.