PEP 8 says that the names of Python packages and modules should be short, as some file systems truncate long names. And I'm trying to follow Python conventions in a new project. But I really like the long, descriptive names. So I wonder how short the names should correspond to PEP 8. And does anyone really care more about this? I tend to ignore this recommendation and use longer names, thinking that this is not so important. Does anyone think this recommendation is still worth it? If so, why? And how short is short enough?
edit: Thanks for all the helpful answers. I will not worry about my names being short, since I do not think that someone will run my system on a really old computer. And if that happened, I could sometimes shorten some of the names later. But I will limit them to 32 characters. And now I understand that PEP 8 is specifically designed for the standard library, in which case the length of the name makes sense. But I think longer names will be better for the application I'm working on. I don't think there is one better answer here, so I'm going to flip a coin to help me decide.
source share