[
https://issues.apache.org/jira/browse/DIRMINA-198?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Emmanuel Lecharny closed DIRMINA-198.
-------------------------------------
> Naming conventions
> ------------------
>
> Key: DIRMINA-198
> URL: https://issues.apache.org/jira/browse/DIRMINA-198
> Project: MINA
> Issue Type: Wish
> Affects Versions: 0.9.3
> Reporter: Michael Bauroth
> Assignee: Trustin Lee
> Priority: Trivial
>
> It would be a great idea to define some naming conventions for the source
> code. Especially for new users, but also for all others it can be confusing
> to know, if a special variable in a longer method is static or global or
> anything else. Naming conventions can generate more readable code and a
> quicker programming progress.
> In our company we use the following conventions:
> static final variables: UPPER_CASE
> static variables: sStatic (leading -s, next letter big)
> global variables: mMember (leading -m, next letter big)
> local (temporary) variables: tTemp (leading -t, next letter big)
> parameters: pParam (leading -p, next letter big)
> What do you think?
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.