3 ms·
Take PEP8 for example which is Python specific. PEP8 has a rule that code shall not exceed 79 characters. This has the added benefit that on a standard 1080 mon
by giancarlostoro 4y ago
Take PEP8 for example which is Python specific. PEP8 has a rule that code shall not exceed 79 characters. This has the added benefit that on a standard 1080 monitor you can see two Python files side by side without horizontal scrolling. This also has the added benefit of being able to see code diffs without issue.
I can see why certain choices are made but only matter if they have sound reasoning and arguments for them.
- calcifer 4y ago> This has the added benefit that on a standard 1080 monitor you can see two Python files side by side without horizontal scrolling. Isn't that a function of font size rather than screen resolution?
- giancarlostoro 4y agoYou really want to argue that shrinking font from a standard font size will produce legible text like that? The argument is against super long lines. I think Clean Code suggests something similar to the effect of if you have more than three arguments for a method you are better served taking a class as the argument.