Gemma,
You've hit the point right on the head.
I bet that if we knew more about Jal's needs, we could indeed do as you suggested, rewrite the code so there's no need for any weird or exotic construction.
Also, the controvesy about what machine code are being generated by what coding has pretty much faded into background. Back then when each cycle of computer were sacred and holy, and shouldn't be wasted at all, it was common for programmers to argue over finer points, but with computing powers having gained so much and becoming insanely cheap, there is really not much incentive to gain 7% extra speed by writing the whole program in assembly language, which provides the programmers much more control over how things are done than a higher level language.
I think for that reason, the needs to write efficient code at expense of readability has quite reduced, and thus we see more emphasis on writing clean code and admittedly a bit more of dogmatic positions towards arbitrary execution such as goto statement.
And there's a raptor, too!
You've hit the point right on the head.
I bet that if we knew more about Jal's needs, we could indeed do as you suggested, rewrite the code so there's no need for any weird or exotic construction.
Also, the controvesy about what machine code are being generated by what coding has pretty much faded into background. Back then when each cycle of computer were sacred and holy, and shouldn't be wasted at all, it was common for programmers to argue over finer points, but with computing powers having gained so much and becoming insanely cheap, there is really not much incentive to gain 7% extra speed by writing the whole program in assembly language, which provides the programmers much more control over how things are done than a higher level language.
I think for that reason, the needs to write efficient code at expense of readability has quite reduced, and thus we see more emphasis on writing clean code and admittedly a bit more of dogmatic positions towards arbitrary execution such as goto statement.
And there's a raptor, too!
