[Harbour] THREAD STATIC var naming

Viktor Szakáts harbour.01 at syenar.hu
Wed Jan 21 13:10:04 EST 2009


Vars names align better visually if all prefixes are of equal length (one
char). It's also easier to swap
automatically without manual reformatting.

We have 'g_', 's_', 't_', so it's a not a really busy
list of prefixes, I'd prefer not to make it any more
verbose than necessary.

Brgds,
Viktor

On Wed, Jan 21, 2009 at 5:49 PM, Francesco Saverio Giudice <
info at fsgiudice.com> wrote:

> Hi Viktor,
>
> Il 21/01/2009 17.18, Viktor Szakáts ha scritto:
>
>  Hi all,
>>
>> I'd like to propose to mark all THREAD STATIC vars with the 't_' prefix,
>> instead of 's_' to make the difference obvious when looking at the code.
>>
>> So:
>> THREAD STATIC t_var
>> STATIC s_var
>>
>>
> why not ts_ ?
>
> Best regards
>
> Francesco
> _______________________________________________
> Harbour mailing list
> Harbour at harbour-project.org
> http://lists.harbour-project.org/mailman/listinfo/harbour
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.harbour-project.org/pipermail/harbour/attachments/20090121/e9a91c63/attachment.html


More information about the Harbour mailing list