[Gambas-user] Better use of prefixes

Gianluigi bagonergi at gmail.com
Sat Mar 16 19:40:54 CET 2019


> More readable for whom?
For me I speak only for myself.

The prefix is not a dogma is an indication and the programmers who use I
find them very nice.
If I read a variable $ iMyNumber or $ nMyNumber or $ lngMyNumber I
understand that it is an integer, if I read btnNumber or btNumber I
understand that it refers to a Button.
For example, I use btn for each type of button, not just Button.
No one forces anyone and you are free to do as you wish.

Regards
Gianluigi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gambas-basic.org/pipermail/user/attachments/20190316/6f2f9272/attachment.html>


More information about the User mailing list