Fresh from the Twitters, courtesy of Uncle Bob:

The length of a variable name should be proportional to its scope.

The length of a function or class name is the inverse.

Wise advice.

Comments

blog comments powered by Disqus
Next Post
IIS Web Application installation trap  01 Mar 2011
Prior Post
Questions for Senior Software Engineers  19 Feb 2011
Related Posts
Superpowers for your AI  29 Mar 2026
Autotitling Windows Terminal Tabs  17 Mar 2026
Don't assume shared understanding  25 Jan 2026
Better Table Tests in Go  21 Oct 2025
Error assertions  26 Apr 2025
Browsers and WSL  31 Mar 2024
Factory methods and functions  05 Mar 2023
Using Constructors  27 Feb 2023
An Inconvenient API  18 Feb 2023
Method Archetypes  11 Sep 2022
Archives
February 2011
2011