3 ms·
> The difference between "common" and "uncommon" execution paths must be of no bearing. Why? I think that a good programming language should help readers focus
by creata 6y ago
> The difference between "common" and "uncommon" execution paths must be of no bearing.
Why? I think that a good programming language should help readers focus on the "essence" of an algorithm. Usually, handling stuff like memory allocation errors is just noise in that effort.
Besides, most errors will usually be propagated to the caller, so I think the programming language should make that convenient, like Rust does with its ? syntax, and most languages do (perhaps too implicitly) with some concept of exceptions.