Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code style: more information on line length #196

Open
danirabbit opened this issue Jun 2, 2023 · 0 comments
Open

Code style: more information on line length #196

danirabbit opened this issue Jun 2, 2023 · 0 comments

Comments

@danirabbit
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant