2 ms·
https://en.wikipedia.org/wiki/Rule_of_least_power https://en.wikipedia.org/wiki/Rule_of_least_power is why we don't do everything with "if/goto". Being able to
by erik_seaberg 4y ago
https://en.wikipedia.org/wiki/Rule_of_least_power https://en.wikipedia.org/wiki/Rule_of_least_power is why we don't do everything with "if/goto". Being able to write "switch" or "while" or "throw" names the behavior intended (and especially what's not intended) more clearly than one construct that could do anything and appears everywhere.