| ▲ | skepti 2 days ago | |||||||
For many types of projects and approaches, avoiding UB is necessary but not at all sufficient. It's perfectly possible to have critical bugs that can cause loss of health or life or loss of millions of dollars, without any undefined behavior being involved. Funnily enough, Rust's pattern matching, an innovation among systems languages without GCs (a small space inhabited by languages like C, C++ and Ada), may matter more regarding correctness and reliability than its famous borrow checker. | ||||||||
| ▲ | zozbot234 2 days ago | parent [-] | |||||||
Didn't PASCAL have variant record types with a kind of primitive pattern matching already? | ||||||||
| ||||||||