Re: What is expensive about consing



On Sep 10, 4:53 am, Tim Bradshaw <tfb+goo...@xxxxxxxx> wrote:
In real production code I have taken code which relied on TCO and
changed it to use GOTO to improve readability.

So, you exchanged parametrized GOTO for plain labeled GOTO for
readability? Yeah, sounds like an improvement...
.



Relevant Pages

  • Re: question?
    ... in general, every guideline will have ... Take for example the infamous goto statement. ... early returns can sometimes hurt code readability... ... In fact 'flags' are ...
    (comp.lang.java.programmer)
  • Re: What do you think about the code?
    ... of a modular design with strict avoidance of goto, ... function that has outgrown its readability. ... the whole switch because I don't care if I'm in quotes when checking for the ... the test for quotes explicitly where required. ...
    (comp.lang.c)
  • Re: Prime Numbers Algorithms
    ... and because goto is a sanctioned C language construction ... > static unsigned int gcd(unsigned int a, ... the compiler will have a heck of a time folding together any branches. ... and no impact on the readability or simplicity in proving correctness. ...
    (comp.programming)
  • Re: regarding "goto" in C
    ... That will increase the readability and security by hiding details while increasing the maintenceability and decreasing the time needed to debug the functionality. ... we have avoided the evil goto. ... I can't come up with arguments as to why a version that uses a control variable should be better design than one without it. ...
    (comp.lang.c)
  • Re: when GOTO makes sense.
    ... >>code hoping to learn a good way to use goto for readability. ... but you still can trust the compiler farther ... everywhere that needs it right before the goto (a very poor solution), ...
    (comp.lang.c)