programming conventions
nounUK /ˈprəʊ.ɡræm.ɪŋ kənˈven.ʃənz/
US /ˈproʊ.ɡræm.ɪŋ kənˈven.ʃənz/
Agreed rules that help people write computer code in the same neat way.
Our team follows programming conventions so everyone can read each other's code easily.
OTHER MEANINGS
2. A shared way of naming things in code, like using lowercase letters for variables.
The programming conventions say variable names should start with a lowercase letter.
3. Rules about how to arrange code, such as where to put spaces and brackets.
Following the programming conventions, he put each bracket on its own line.
4. Common habits that programmers agree on to avoid mistakes.
One of the programming conventions is to write a comment before a tricky function.