DEV Community

Discussion on: Mini conceptual breakthrough re: ln

Collapse
 
moopet profile image
Ben Sinclair

I'm not sure I follow. You'll almost never want to use hard links where you could use soft links, because you lose canonicalisiosity (I just made that word up) and you end up never being 100% sure you've deleted a file or not. Things also break if you do an operation which effectively replaces a file.

Is there a benefit to using hard links here that I'm not seeing?