Skip to content

Naming for Boolean variables and methods #7

@namse

Description

@namse
var isValidFormat = isValidFormat(); //bad idea!

var formatIsValid = isValidFormat(); //much better

if (formatIsValid) {
  //good to go…
}

reference

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions