Skip to content

Code style and "rules" #11

@oneofmanylukes

Description

@oneofmanylukes

I just wanted to know if we can all agree to a code style? Like naming conventions, indentation and such? So I'm just gonna throw this into here, correct me if I'm wrong.

Personally I'm completely with the underscore for class members. But I would suggest that we go with the fashion of guard clauses insted of nesting many if statements into eachother. In addition functions should only have one return if possible. Also what about the use of break and continue? And so on...
I hope you get what I mean

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions