3 ms·
I think it is important to strike a balance here, see Java codebases for the other extreme end of the spectrum where the variable name may not fit within 80 col
by johnisgood 3y ago
I think it is important to strike a balance here, see Java codebases for the other extreme end of the spectrum where the variable name may not fit within 80 column width.
- bayindirh 3y agoOf course. I name things as "configuration_storage", but not "configuration_factory_singleton_configuration_stub_constructor". I've been there, seen the horror. Never again.
- acchow 3y agoIn 20 years with growing display sizes and resolutions, I’d have hoped 100 or 120 columns replaced 80
- spencerchubb 3y agoI thought the column recommendation of 80 was about eye movement and reading speed, not display width.
- ncallaway 3y agoI think it was both, and has become more the former now. My preferred line-width for code would be 80 characters, not including indentation for the line, with a maximum of 120 characters including indentation.
- lenkite 3y agoApple OS programming beats name length for Java anyday but it never gets a bad rep thanks to apple's reality distortion field. CMMetadataFormatDescriptionCreateWithMetadataFormatDescriptionAndMetadataSpecifications