3 ms·
Safer languages can protect from some kinds of bad design. Some kinds of incoherent design become simply impossible to express. (For example, using a structured
by lmm 4y ago
Safer languages can protect from some kinds of bad design. Some kinds of incoherent design become simply impossible to express. (For example, using a structured language with function calls instead of goto means a function always returns to the same place where it was called from, so a whole class of possible designs - most of which were just mistakes, but a few of which were efficient implementations - becomes impossible)
- eru 4y agoOne job of language designers and compiler writers is to recover the efficient implementations without allowing the bad designs. See how eg optimized tail calls essentially give you back all the power of goto without the old downsides.