Hello everyone,
Is there a style guide for B4J / B4X?
(Someting like PEP 8 for Python)
Are there tips and tricks for giving useful names to:
-Public variables
-Private variables
-Temporary local variable within a function
-Constants
-Classes
-Modules
-Types
-Maps
-Lists
-Arrays
....
Sometimes I see, PascalCasing or camelCasing, UPPER_CASING etc... but i don't know if there is a standard in this language?
Do you add the datatype in you variable name? Or is it useless?
For example:
Is there a style guide for B4J / B4X?
(Someting like PEP 8 for Python)
Are there tips and tricks for giving useful names to:
-Public variables
-Private variables
-Temporary local variable within a function
-Constants
-Classes
-Modules
-Types
-Maps
-Lists
-Arrays
....
Sometimes I see, PascalCasing or camelCasing, UPPER_CASING etc... but i don't know if there is a standard in this language?
Do you add the datatype in you variable name? Or is it useless?
For example:
B4X:
Private intTimeOffset as Int
Timer declaration:
Private tmrReadFile As Timer