On 2012-09-27 15:48, Marcos Douglas wrote:
> problem, IMHO, is that I can't choose when we talk about local
> variables.

Just like there is a coding style (not language rule) that classes start
with the "T" prefix, and class field variable start with a "F" prefix, I
applied that same coding style to parameters and local variables.

"L" prefix for local variable - though I prefer the lowercase 'l' for
this for some add reason. The exception being counter variables like x,
y, i, j etc.

"A" prefix for parameter variables.

Using this simple coding style makes things even more logical and less
confusing, even though I use mode objfpc for 90% of my code.

Regards,
  - Graeme -

_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to