Toot

Written by Branch Predictor :mycomputer: on 2024-09-08 at 11:03

So "modern" (read - younger) devs might be framework and language whizzes, but what they lack are... basics of basics. Like, seriously, people really think deferring closing of file after buffered write is a good idea at all? Or that closing a file multiple times from different places in code is a Right Way™?

Sure, the post eventually mentions (f)sync() call, but it's just after updating it, meaning the post author was completely unaware of it.

That pretty much explains why "modern" software (especially web-centric software) was, is and will be unreliable and prone to random bugs, including totally unexpected and unnoticed data loss.

https://www.joeshaw.org/dont-defer-close-on-writable-files/

[#]programming #SoftwareDevelopment

=> More informations about this toot | View the thread | More toots from branch300bpm@vivaldi.net

Mentions

Tags

=> View programming tag | View softwaredevelopment tag

Proxy Information
Original URL
gemini://mastogem.picasoft.net/toot/113101595662992279
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
226.487374 milliseconds
Gemini-to-HTML Time
0.718227 milliseconds

This content has been proxied by September (3851b).