029xue
2016-03-24 11:13:49 +08:00
(R) On open source projects, there should be a hard 79-character limit. Our experience has shown that contributors or visitors to these projects will grumble about line length issues.
(R) On private projects, we relax the limit to 99 characters, taking full advantage of modern mon- itors.
Fitting the code in 79 columns is never a good reason to pick worse names for variables, functions, and classes. It ’ s much more impor- tant to have readable variable names than to t in an arbitrary limit of hardware from three decades ago.”
感觉这说的有道理,准备用 100 。