News for hackers. Stuff that matters.
Re:The Power of 10: Rules for Developing Safety-Critical Cod... by isityouyesitsme on Thursday June 29, 2023 @06:57AM (#36518806)
Perhaps not everyone knows what AUTOSAR is. https://en.m.wikipedia.org/wiki/AUTOSAR. Think: automotive brake controllers, that type of shit. It is safety critical.

My point isn't that the rules apply universally, it's that something found to be a good practice in a safety critical industry is flagrantly discarded in another, without good reason. Literal state machines in the preprocessor. Metaprogramming in C. But because it is generated code, it is "ok."

Re:The Power of 10: Rules for Developing Safety-Critical Cod... by RealityVoid on Thursday June 29, 2023 @05:11PM (#36526770)
The automotive industry is weird like that. They started doing things a way, got stuck in a groove and now if you push back against it they look at you like you killed their dog.

I should really find a different field, for my mental well being.