Sovi.AI - AI Math Tutor

Scan to solve math questions

QUESTION IMAGE

why indent your code? give three reasons. use google if needed? spyros …

Question

why indent your code? give three reasons. use google if needed? spyros karoris · 12:08 pm

Explanation:

Brief Explanations
  1. Readability: Indenting makes code structure clear, easier to read and understand for developers.
  2. Debugging: Helps in quickly identifying block - scope and logical flow, making it simpler to find and fix errors.
  3. Code Maintenance: When others (or the original developer later) need to modify the code, indented code is more organized and less error - prone during changes.

Answer:

  1. Improves readability.
  2. Facilitates debugging.
  3. Eases code maintenance.