goto

Chris R Miller lordsauronthegreat at gmail.com
Thu Feb 5 20:40:27 PST 2009


Andrei Alexandrescu wrote:
> Yah, same here. I seem to finally have found one of the elusive cases
> when goto simplifies things.
>
> About Brad's variant - ranges don't define clear, but assigning b =
> b.init does the trick. (I personally still find the goto version
> marginally clearer. It's also marginally more efficient because it
> doesn't do one assignment and one vacuous check. Also the joke with the
> programmer who throws the water and then applies the known procedure to
> make coffee comes to mind.)

Enlighten those of us unfamiliar with this joke?



More information about the Digitalmars-d mailing list