Re: [Plplot-devel] Declaration style

2012-02-20 Thread chm
On 2/20/2012 12:31 PM, Alan W. Irwin wrote: > Hi Arjen: > > I changed the subject line to something more appropriate. > > On 2012-02-20 10:23+0100 Arjen Markus wrote: > >> Hi Alan, >> >> I too come from a school where all declarations are put at the top >> of a program unit, but it seems more and m

[Plplot-devel] Declaration style

2012-02-20 Thread Alan W. Irwin
Hi Arjen: I changed the subject line to something more appropriate. On 2012-02-20 10:23+0100 Arjen Markus wrote: > Hi Alan, > > I too come from a school where all declarations are put at the top > of a program unit, but it seems more and more "fashionable" to restrict > the scope of variables as

Re: [Plplot-devel] [Plplot-cvs] SF.net SVN: plplot:[12170] trunk/lib/csa/csa.c

2012-02-20 Thread Arjen Markus
Hi Alan, I too come from a school where all declarations are put at the top of a program unit, but it seems more and more "fashionable" to restrict the scope of variables as much as possible, in this case the variables s and p. The code in csa.c is full of that type of local declarations. I will