[Bf-committers] goto statements

Martin Poirier theeth at yahoo.com
Sun Jan 2 17:13:11 CET 2011


Hi,

It depends on the usage. For error handling, it's usually tolerated (as the C replacement for Finally).

Not sure if that applies to how it's used in the point cache code though.

Martin

--- On Sun, 1/2/11, Ton Roosendaal <ton at blender.org> wrote:

> From: Ton Roosendaal <ton at blender.org>
> Subject: [Bf-committers] goto statements
> To: "bf-blender developers" <bf-committers at blender.org>
> Received: Sunday, January 2, 2011, 8:56 AM
> Hi,
> 
> The new pointcache is stuffed with gotos... I really
> thought these  
> were considered dangerous and should be avoided at any
> cost.
> 
> -Ton-
> 
> ------------------------------------------------------------------------
> Ton Roosendaal  Blender Foundation   ton at blender.org 
>   www.blender.org
> Blender Institute   Entrepotdok 57A 
> 1018AD Amsterdam   The Netherlands
> 
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers
> 




More information about the Bf-committers mailing list