by papsosouid · 13y ago · 0 comments
On what basis do you make that assertion? "Lots of people program who didn't bother to learn maths" doesn't mean they aren't able to learn maths.
>This stuff we call code ain't that hard.
Then why do we so consistently fuck it up horribly?
This is the crux of it. Coding these days "ain't that hard" because the current generation of programmers sneer at formal methods. They believe providing even semi-rigorous proofs that their code works is not worth their effort.
The result? Testing code with arbitrary input is the best practice; even semi-rigorous proofs are a "luxury". Would your high school geometry teacher accept "well, here's three triangles whose angles sum to 180 degrees. QED."? Then why are we so content as professionals to provide similar "proofs" of correctness?
Unfortunately, there's a strong feedback method here. Formal methods receive little treatment because there is little enthusiasm for their application. There is little enthusiasm for their application because the tools aren't advanced enough. The core problem is still the same though: programmers don't take math seriously.
There is more than one "correct". Cheap fast prototypes can and generally should skimp on "correct" scaling things because that extra work isn't necessary unless the idea takes off, otherwise you're saving a ton of labor skipping things that a final product might need but a failed idea won't.
> You don't blame the business when someone builds a bridge that collapses
Be serious; lives aren't generally on the line for most business apps and that kind of engineering is time consuming and expensive and totally unnecessary most of the time for application developers.
> do it wrong, and doing it right doesn't take significantly longer
I completely disagree.
>Programmers just need to be educated and learn how to write code.
Sounds like you need to spend some time running a business and paying for those programmers; you'll change your mind fast.
The next difficulty is defining correct code. It's going to be difficult to find consensus beyond anything basic.