Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reporte Refactoring 1 #339

Open
noeliapasaca opened this issue Jan 14, 2023 · 0 comments
Open

Reporte Refactoring 1 #339

noeliapasaca opened this issue Jan 14, 2023 · 0 comments

Comments

@noeliapasaca
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant