Programmers acknowledge the difficulty of naming things, whatever their experience level and wherever they work, but relatively few use explicit naming guidelines. Various authors have published different kinds of identifier naming guidelines, but these guidelines do little to make naming easier, in practice. Meanwhile, professional programmers follow diverse conventions and disagree about key aspects of naming, such as acceptable name lengths. Although few teams write their own coding standards, let alone naming guidelines, many teams use code review and pair programming to maintain code quality. We believe that these teams could use third-party naming guidelines to inform these reviews, and improve their coding style. This paper examines various sources of naming guidelines, in the context of the first author’s twenty years’ experience as a professional programmer. This paper then presents a consolidated set of naming guidelines that professional programmers can apply to the code they write.
|Number of pages||1|
|Publication status||Published - 2017|
|Event||PPIG 2017: 28th Annual Workshop - Delft, Netherlands|
Duration: 1 Jul 2017 → 3 Jul 2017
|Conference||PPIG 2017: 28th Annual Workshop|
|Period||1/07/17 → 3/07/17|