10 Pines Blog

The Art of Naming

naming object-design

Today we all know now that variables should not be called x or y, not even i nor n when we use the famous “for”… but do you know why? have you had trouble naming a variable? and what about a method (message) or a class?

The truth is that naming in software development is really important, so important that I usually say that programming is “the art of naming”.

2 Feb 2012

About names when designing with objects

naming object-design

One of the recurrent problems I see when teaching OO design is the “names” used by the programmers to name classes, methods, etc.

The problems are different depending if attendees are from the industry or the university. At the industry I see that names are wrongly selected, bias technology names, while at the university it is common to see the lack of ideas to name things (which makes sense because they have less experience). I will concentrate on the problem I see at the industry.

12 Jan 2012