Skip to content

Code style: more information on line length  #196

@danirabbit

Description

@danirabbit

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions