On 06/07/2024 12:32, Stefan Ram wrote:
   But why overengineer? If you feel comfortable with the file
   solution, go for it! The only drawback might be that it's a
   bit slower than other approaches.

I absolutely agree. Overengineering is generally a bad idea because you're using a complex solution to solve a simple problem, which leads to unexpected breakage.

The file solution is perfectly fine, and file locks are used by really important software (i.e package managers and such) because its simplicity makes it almost never fail.

So yeah, go for it!

--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to