Skip to content

Add style for expressions #3

Description

@jaxxzer

Patrick likes no spaces for * or / operators, and space for everything else:
if ((_maxDepthToDraw - _minDepthToDraw)*_minPixelsPerMeter < 200) {

I like single space between every mathematical or logical operator:
if ((_maxDepthToDraw - _minDepthToDraw) * _minPixelsPerMeter < 200) {

Is this something we should add a guideline for? or just leave it to preference?

There is also the matter of a space after the if or while statements.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions