This article is divided into two chapters.

  • The first one, starting with section “Introduction to naming in programming” presents a review of scientific literature present on the topic. That section will deepen your understanding of the current body of knowledge on naming things.
  • The second chapter, starting with section “Guidelines for naming conventions in programming” presents actionable recommendations to improve your skills in choosing thoughtful class, function or variable names. If you’re looking for tips, go there.

There are only two hard things in Computer Science: cache invalidation and naming things.

all 9 comments

sorted by: hot top controversial new old
[–] 10 points 1 year ago (1 child)

I hear that x, y, z, a, aa, ab, foo, and bar all make great names.

  • source
  • hideshow 1 child comment
  • [–] 5 points 1 year ago (3 children)
  • [–] 8 points 1 year ago* (2 children)

    What is naming in programming?

    [long ass chapter]

    When I see articles like this, I just leave.

  • source
  • hideshow 2 child comments