понедельник, 3 августа 2015 г.

A sort of "hungarian notation". Some more trivial staff

Original in Russian: http://18delphi.blogspot.ru/2013/05/blog-post_6947.html

I write global variables as g_GlobalVar.
Local variables - l_LocalVar or vLocalVar (v – from var(iable)).
Input parameters - a(n)InParam.
Output parameters - theOutParam.
Class members - f_Field.
Local constants - cConst.
Embedded local procedures - lpLocalProc.

As for me it is very useful.

Try it. May be you will like it.

Комментариев нет:

Отправить комментарий