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

Code Review from DevRoad #9

Closed
rohsik2 opened this issue Feb 16, 2023 · 0 comments
Closed

Code Review from DevRoad #9

rohsik2 opened this issue Feb 16, 2023 · 0 comments

Comments

@rohsik2
Copy link
Owner

rohsik2 commented Feb 16, 2023

Code Summary

filename : /echo.py

This code is a simple Flask application that allows for Cross-Origin Resource Sharing (CORS) requests. It handles requests for any HTTP method, including GET, HEAD, POST, PUT, DELETE, CONNECT, OPTIONS

filename : /testing.py

This code tests whether 3 is equal to 4. Since it is not, the test will fail.

Code Review

filename : /echo.py

  1. Use a consistent indentation style throughout your code.

  2. Use descriptive variable names to make your code more readable.

  3. Use comments to explain the purpose of your code.

  4. Use a consistent naming convention for functions and variables.

  5. Use a linter to check for errors and potential problems in your code.

filename : /testing.py

  1. Use more descriptive variable names.
  2. Add comments to explain the purpose of the code.
  3. Break up long lines of code into smaller, more manageable chunks.
  4. Use consistent indentation and spacing.
  5. Test the code to ensure it is working as expected.
@rohsik2 rohsik2 closed this as completed Feb 16, 2023
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