Fixed naming conventions examples

This commit is contained in:
Stone-Red-Code
2021-07-09 11:39:10 +02:00
parent 9e07fa33fa
commit f7c562c383
@@ -71,6 +71,7 @@ Do not use Hungarian notation or any other type identification in identifiers.
//Do: //Do:
int age; int age;
string name; string name;
//Don't: //Don't:
int iAge; int iAge;
string strName; string strName;
@@ -82,7 +83,8 @@ Use meaningful names for variables.
//Do: //Do:
string factoryName; string factoryName;
int age; int age;
//Don't
//Don't:
string str; string str;
int i; int i;
``` ```