On 2026-01-04 06:44, Pádraig Brady wrote:
However there is a cognitive load to determine that in general. IMHO any code with gotos should have all variables declared/initialized before any gotos.
There is also a cognitive load, when an initialization or early declaration is unnecessary, to determine that the unnecessary code is present only to pacify a compiler that is dumb (or doctrinaire) enough to insist on the unnecessary code.
