if i were a programmer, i would simply predict all the possible states of my program and prevent invalid ones from occurring
@dankwraith I especially adore the word "simply" here :-)
@dankwraith According to the SQLite developers they were paid to do so for a client in the airline industry. Because there's regulation there requiring it.
That regulation though doesn't stop them from implementing terrible ideas.
@dankwraith lol no joke as a kid i thought that to make a video game programmers created every possible image that could be shown on screen
@dankwraith i know just the trick to do this!
It genuinely made me smile, the same kind of smiling when thinking about a pure and wonderful utopy were no harm is made to anything and everything is nice.
And then there are things like C++, lurking in a corner, waiting for the best moment to trap you with an undefined behaviour due to some implicit conversion between obscure xlrgvalue magic...
@dankwraith One day, a guy in the customer support department asked me why I don't do exactly that. Indeed, why don't I?
@dankwraith if i were a programmer with a sensible trade union i would simply import and configure the appropriate state machine which union engineers have subjected to a rigorous audit and which the union trained me to use
@dankwraith This is legit what good programmers are supposed to do. I do it all the time as I write code. Sadly, poor documentation in libraries can limit how far you can go with this though. This is why I try to go as far as I can with glibc and if I ever write code, I document it to death.
@dankwraith Generally that's what I do.
Normally I don't encounter crashes on deployed code.
@dankwraith make's u wonder,,, why the pointty headid nerd's never DO that!!!! proggraming, its a SCAM
@dankwraith why, I can't believe I never thought of that!
@dankwraith We do!
The problem is Broken is always a valid state.
monads.online is one server in the network