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

Refactor AddExpenseCommand's execution to avoid nested command block #80

Closed
DanLinhHuynh-Niwashi opened this issue Oct 19, 2024 · 0 comments
Assignees
Labels
type.CodeQuality type.Task Something that needs to be done, but not a story, bug, or an epic. e.g. Move testing code into a new
Milestone

Comments

@DanLinhHuynh-Niwashi
Copy link

          This function seems to have multiple functionalities embedded. You can consider refactoring this.

Originally posted by @joshuan98 in nus-cs2113-AY2425S1#6 (comment)

You can split the processing to different methods.

@DanLinhHuynh-Niwashi DanLinhHuynh-Niwashi added type.Task Something that needs to be done, but not a story, bug, or an epic. e.g. Move testing code into a new type.CodeQuality labels Oct 19, 2024
@DanLinhHuynh-Niwashi DanLinhHuynh-Niwashi added this to the v2.0 milestone Oct 19, 2024
@YukeeHong YukeeHong self-assigned this Oct 27, 2024
@Oshen27 Oshen27 closed this as completed Nov 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type.CodeQuality type.Task Something that needs to be done, but not a story, bug, or an epic. e.g. Move testing code into a new
Projects
None yet
Development

No branches or pull requests

3 participants