AY2223S2-CS2113-T15-2 / tp

0 stars 5 forks source link

Code Review: Yu Fei #169

Closed mathanmahe closed 1 year ago

mathanmahe commented 1 year ago

@ollayf

  1. Line 18 - Consider writing comments to the reader, instead of as a note to self. image

  2. Line 20, 25, 30 Comments should be indented relative to their position in code. image

  3. Line 207 - Comment minimally but sufficiently. Since code is self explanatory, can consider removing this comment. image

  4. Line 35,36,49 - Avoid magic strings. Consider extracting out a constant such as FOLDER_DELIMITER to improve readability and allow reuse.

image

  1. Line 99 - Avoid notes to self while commenting and consider rephrasing it to write to the reader.

  2. Final constants hould be in uppercase where each word is separated by an underscore image

ollayf commented 1 year ago

resolved