Naming is one of the most difficult and enduring challenges in software engineering, but few of us do it well. This practical and comprehensive book provides a set of principles, rules, and application guidelines for efficiently choosing good names in your code.
These skills can be used throughout your career, and they’re useful for every programming language, technical domain, and experience level. The book incorporates real-world examples to illustrate how to choose good names and avoid bad names.
Your code is for a human first and a computer second. Humans need good names.
Programs must be written for people to read, and only incidentally for machines to execute.
There are only two hard things in Computer Science: cache invalidation and naming things.
Any fool can write code that a computer can understand. Good programmers write code that humans can understand.