← Back to team overview

kicad-developers team mailing list archive

About notation

 

...


> Didn't know about that tool. BTW where the strange func( param ) style come from?

Me. But I call it readable, not strange.

If you are talking about parameters notation (i did not see exactly what is strange) here are some info: I believe it is useful to prefix variables names in order to give info about them. - members variable are prefixed m_ (like m_Color): a good idea from wxWidgets team ("m_" like member) - functions arguments are prefixed a (like aColor): a good idea from Dick ("a" like argument) - global variables are prefixed g_ and local (not global) variables by s_ (fg_ and s_ like global and static) . This is my idea (I hope it is good).
- Variables locales to a function are not prefixed.

So variables used in a function can be clearly identified.

> I never seen that before!
>

I never call ideas from others guys "strange".
I try to understand these ideas:
If i believe this is a good idea, i use it, and if i believe this is a bad one, i forget it.

--
Jean-Pierre CHARRAS
Maître de conférences
Directeur d'études 2ieme année.
Génie Electrique et Informatique Industrielle 2
Institut Universitaire de Technologie 1 de Grenoble
BP 67, 38402 St Martin d'Heres Cedex

Recherche :
Grenoble Image Parole Signal Automatique (GIPSA - INPG)
Grenoble France






Follow ups

References