Tar (some versions at least?) is actually smart enough to detect which format to use based on file extension of the output, so you don’t need to remember which flag corresponds to which compressor. Examples:
tar -caf archive.tar.xz [files]
tar -caf archive.tar.bz2 [files]
# extract
tar -xf archive.tar.xz
tar -xf archive.tar.bz2
So you really only need to remember that c means create, x means extract











I’m a C++ dev and I avoided Rust for the longest time because of how insufferable the community was, especially with regards to muh borrow checker, and all the increasingly detached-from-reality rhetoric many people were pushing.
But post-AI, all that stuff seems trivial now. Now, Rust is the hero sacrificing itself to hold back the vibe coders from other serious development communities. C++ still has a ton of vibe coders, but nowhere near as much as Rust, and for that I’m grateful.