Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
cm3Libraries
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cm3
cm3Libraries
Wiki
Coding rules
Changes
Page history
New page
Templates
Clone repository
Update Coding rules
authored
5 years ago
by
Julien Leclerc
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
Coding-rules.md
+1
-1
1 addition, 1 deletion
Coding-rules.md
with
1 addition
and
1 deletion
Coding-rules.md
View page @
4dc4319a
...
...
@@ -11,7 +11,7 @@ Name rules:
*
Class name start with an uppercase (e.g. Example)
*
Internal variables of a class start with an underscore and a lowercase (e.g. _example)
*
Class functions start with a lowercase (e.g. example)
*
F
unctions "get/set":
*
Access f
unctions "get/set":
*
getRefToExample() : can be used or set by reference a variable value that exists (or copy-paste its value);
*
getConstRefToExample() : idem but in read-only access;
*
getExample : use it when you want to return an object that may be not exist;
...
...
This diff is collapsed.
Click to expand it.