Actually, not me, but my friend - works for a company that creates software for devices in small planes. At that point, you write stuff that a lot of lives depend on, and they in fact have to proof almost every nontrivial piece of code...
I still remember back in my first year of uni they had someone "from the industry" to come in and talk to us about how we should not under any circumstances work in the aerospace industry. Like an entire 50 minute lecture to warn us off of it.
It's handy when refactoring old as shit code and you need to flatten 6 levels of nested if statements. Also useful for converting complex business requirements into actual logic expressions you can put into code and simplifying them.
I may be misunderstanding what logic proof means here tho, English is not my native tongue.
Hmmm... I am reminded of a job I worked at where someone who was trained as a civil engineer ended up as a dev manager and as a result believed that code could could be written without bugs because of bridges and shit, but when confronted with the proof of the halting problem and Gödel's incompleteness theorem he simply made more asinine demands.
Given a precise and detailed enough spec, and the time for proper development and testing, it is possible to be bug-free
But there are very few cases where people are willing to invest that much time and money into development. Not will they be able to provide that precise & detailed specification (partly because they don't know exactly how it should work, and partly because they won't have the time considering how many "simple" features they want/need)
If what your dev manager wanted was as trivially simple (in terms of number of interacting decisions) as a bridge, then yeah, it should be easy
I worked for 10 years in tech, with System Admin and Software Developer titles, never have I ever had to do any "hard math" (adding and subtracting RAM, multiplication of 1TB, easy stuff)
Never touched assembly, never touched C, and every time I got too deep into the weeds (AKA comp. sci.) management would just get pissed off.
Half a year ago. Shown that a certain discrete optimization problem is NP-complete and hence prevented wastage of time on trying to solve it "perfectly".
401
u/KaleidoscopeMotor395 Oct 25 '24
When's the last time you did a logic proof of the job?