Yesterday I new number of Today Software Magazine was launched. I decided to write a series of article about Clean Code, because I consider that this book should be read by all developers. In this first article related to Clean Code I wrote about Naming.
At the ‘release’ party I talk a little about Clean Code and Naming. I was surprise to discover that only a small part of the people had the opportunity to read or hear about Clean Code. Because of this I’m happy that I decided to write about this subject.
During the presentation somebody remind us about the name of the variables from a for or while. I remember during high school, when I has to work with bidimensional matrix I had to use for in for in for.
The naming convention for me, in that times was ‘i’, ‘ii’, ‘iii’, ‘iiii’.
Article link (ro): http://www.todaysoftmag.ro/tsm/ro/26
Article link (en): http://vunvulearadu.blogspot.ro/2014/08/clean-code-naming.html
Below you can find the slides for the ‘release’ party related to Clean Code:
At the ‘release’ party I talk a little about Clean Code and Naming. I was surprise to discover that only a small part of the people had the opportunity to read or hear about Clean Code. Because of this I’m happy that I decided to write about this subject.
During the presentation somebody remind us about the name of the variables from a for or while. I remember during high school, when I has to work with bidimensional matrix I had to use for in for in for.
The naming convention for me, in that times was ‘i’, ‘ii’, ‘iii’, ‘iiii’.
for (int i = 0; i <= 10; i++)
{
for (int ii = 0; ii <= i; ii++)
{
for (int iii = 0; iii <= 10; iii++)
{
for (int iiii = 0; iiii <= iii; iiii++)
{
...
}
}
}
}
Bad, very bad :-)Article link (ro): http://www.todaysoftmag.ro/tsm/ro/26
Article link (en): http://vunvulearadu.blogspot.ro/2014/08/clean-code-naming.html
Below you can find the slides for the ‘release’ party related to Clean Code:
Comments
Post a Comment