Can we please have at least a minimal coding style ?

H. Verbeet hverbeet at gmail.com
Mon Aug 6 02:36:25 CDT 2007


On 06/08/07, Tomas Carnecky <tom at dbservice.com> wrote:
> This type of construct seems popular in the wine source:
>
> while (isspace(*GL_Extensions)) GL_Extensions++;
> Start = GL_Extensions;
>
Other than the questionable variable naming I see nothing wrong with
that construction?

> Or even worse (I've seen this in winex11.drv, and it took me quite a
> long time until I understood it - it was part of a larger block with a
> lot these constructs):
>
> if (cond) do_sth();
>      do_sth_else();
>
That one is slightly misleading of course.



More information about the wine-devel mailing list