Re: [dev] [PATCH][st] Refactor the innermost loop of the xdraws function
On Fri, Jun 06, 2014 at 10:55:25PM +0200, FRIGN wrote:
> On Fri, 06 Jun 2014 21:27:33 +0200
> Christoph Lohmann <20h_AT_r-36.net> wrote:
>
> > This will introduce the notion that gotos are allowed. Won’t be applied.
> > A refactoring without goto would be applied.
>
> What's the problem with gotos? It's some bullshit proposed by some
> Java-fanatics who don't understand compilers that gotos were not
> allowed, but they are in many cases much more efficient than long
> if-trees.
Gotos have their uses but they can make code harder to reason about. In
this particular case the goto does not seem to be needed afterall
(contrary to what I thought at first).
Received on Fri Jun 06 2014 - 23:01:52 CEST
This archive was generated by hypermail 2.3.0
: Fri Jun 06 2014 - 23:12:06 CEST