As the famous Phil Karlton quote goes: "There are only two hard things in Computer Science: cache invalidation and naming things". This talk focuses on one of those things: naming!
Why is naming so difficult? How do we craft concise, clear, and consistent variable names? What makes a variable name concise, clear, and consistent? In this talk, I'd like to discuss the importance of naming, walk through examples of variable names and improve them, and set some clear guidelines and tips on how to name things.
By the end of this talk, you'll leave with the indispensable skill of effectively naming things!
You will learn:
- Understand what makes variable naming difficult
- Recognize what makes a variable clear, concise, and consistent
- Explore variable naming patterns for almost any type of variable