Skip to content

Reporte Refactoring 1 #339

Description

@noeliapasaca

La clase StaticCodeGen.java, la condición para verificar la longitud del arreglo de argumentos esta usando Magic Number, el cual es 0. La solución es usar una constante ‘MIN_ARGS’ la cual esta establecida con 1, y se usará para verificar la longitud del arreglo. Esto hace que el código sea más legible y mantenible.
image

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions