Skip to content

Access modifiers #1

@aaron345678

Description

@aaron345678

Make your variables private. It's not super duper code breaking but its genuinely good practice. Example:

CANSparkMax rightWheels = MotorControllerFactory.createSparkMax(3, MotorConfig.NEO);
CANSparkMax leftWheels = MotorControllerFactory.createSparkMax(2, MotorConfig.NEO);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions