| ▲ | zeroc8 2 days ago | ||||||||||||||||||||||||||||||||||||||||||||||||||||
Ada and especially Spark makes it a whole lot easier to produce correct software. That doesn't mean it automatically leads to better software. The programming language is just a small piece of the puzzle. But an important one. | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| ▲ | skepti2 2 days ago | parent [-] | ||||||||||||||||||||||||||||||||||||||||||||||||||||
> Ada and especially Spark makes it a whole lot easier to produce correct software. Relative to what? There are formal verification tools for other languages. I have heard Ada/SPARK is good, but I do not know the veracity of that. And Ada companies promoting Ada have horses in the race. And Ada didn't prevent the Ada code in Ariane 5 from being a disaster. > The programming language is just a small piece of the puzzle. But an important one. 100% true, but the parent of the original post that he agreed with said: > And the F35 and America's combat readiness would be in a better place today with Ada instead of C++. What is the proof for that, especially considering events like Ariane 5? And Ada arguably has technical and non-technical drawbacks relative to many other languages. When I tried Ada some weeks ago for a tiny example, I found it cumbersome in some ways. Is the syntax worse and more verbose than even C++? Maybe that is just a learning thing, though. Even with a mandate, Ada did not catch on. | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||