4 ms·
> pessimistic file locking is a fatal design flaw in Windows. ... What problems is it meant to solve? How else do you prevent people from overwriting each othe
by forapurpose 8y ago
> pessimistic file locking is a fatal design flaw in Windows. ... What problems is it meant to solve?
How else do you prevent people from overwriting each other's changes to the same data? Whether the lock is at the file level, field level, etc., how else do you manage collisions? It seems so obvious that perhaps I misunderstand your question.
- corrigible 8y ago... versioning with NTFS ADS?
- AnonymousPlanet 8y agoOh dear, the next "let's squeeze some more arbitrary complexity into a thing that should be simple" fuckup is supposed to be a solution? One has to be a horribly inexperienced engineer not to see how ADS is a very bad idea.
- mortehu 8y agoYou can't write to a running executable on Linux either, but you can remove it and create a new file with the same name (optionally atomically with a rename). The old file keeps existing until it's closed. This allows running programs to be updated.