2 ms·
This piece of advice (some claim) originates in FORTRAN [0], where apparently a function could be entered in multiple places and return to multiple places. Most
by ptx 3y ago
This piece of advice (some claim) originates in FORTRAN [0], where apparently a function could be entered in multiple places and return to multiple places. Most other languages don't support these features in the first place, so the rule is nonsensical (because it's impossible to violate) and got misinterpreted.
[0] https://softwareengineering.stackexchange.com/a/118793 https://softwareengineering.stackexchange.com/a/118793