3 ms·
In fact you could poke around and get the line numbers in a different order and the program would still run properly. That's why subroutines were put at the be
by fortran77 7y ago
In fact you could poke around and get the line numbers in a different order and the program would still run properly.
That's why subroutines were put at the beginning of "efficient" code.
- sitkack 7y agoThis is cool. I feel like this has implications in metaprogramming, code generation, state machines, interposition, and stuff I haven't thought of. This changes my understanding of the semantics of basic immensely.
- ncmncm 7y agoSorry, it is not cool at all. A system that runs subroutines faster according to how far they are from the start of the program is just badly designed. Robustness against poking in different line numbers is not worth trading off performance. He should be ashamed.