docs icon indicating copy to clipboard operation
docs copied to clipboard

Code style: more information on line length

Open danirabbit opened this issue 2 years ago • 0 comments

Problem

Our section on line character limits is really limited and doesn’t provide great reasoning or examples: https://docs.elementary.io/develop/writing-apps/code-style#columns-per-line

Proposal

We should probably mention low vision and large fonts instead of the arbitrary/legacy reasoning of terminal width.

we should provide more recommendations about how/when to break long lines

Prior Art (Optional)

Good thread on how line length limits are useful to low vision users and also where/how certain lines can be broken for more legible code https://connectified.com/@masukomi/110474807692136298

danirabbit avatar Jun 02 '23 15:06 danirabbit