3 ms·
> This goes far beyond coding guidelines. It reads more like THINKING guidelines Well, yes. That's the "safety culture" influence, the idea that there is not r
by pjc50 7y ago
> This goes far beyond coding guidelines. It reads more like THINKING guidelines
Well, yes. That's the "safety culture" influence, the idea that there is not really such a thing as an "accident". With careful thought all the possible outcomes should be forseeable, and mitigation should be in place for all risks. This includes what might be called affordances for the programmer - tools that are prone to misuse and mistakes should be avoided. Guardrails around thought.
This chafes if you got into programming for the freedom, but is a lot more reassuring for people driving the car.
(edit: my own personal benchmark for technical writing is the dully-named "App Note 47: High Speed Amplifier Techniques" by the legendary Jim Williams. From its own preface:
"This publication represents the largest LTC commitment to an application note to date. No other application note absorbed as much effort, took so long or cost so much. ... We intend to supply useful high speed products and the level of support necessary for their successful application(such high minded community spirit is, of course, capitalism’s deputy)."
It is 132 pages including photographs, illustrations, screenshots of osciliscopes, equations, and a few jokes.)
- gmueckl 7y agoSafety critical systems aren't places that tolerate clever hacks for the sake of being clever. But meeting application requirements while staying within the safety guidelines can be an interesting challenge in its own right.
- 0xff00ffee 7y agoThanks for the link. Looking forward to reading it. I first learned about Jim Williams when I bought a book called Analog Circuit Design from the EDN press. He edited most of the book, but it is a collection of beliefs, values and attitudes around Analog Design by like-minded folks. It's equal parts educational and humorous.