Skip to content

Conversation

@huekoh
Copy link
Owner

@huekoh huekoh commented Feb 26, 2024

No description provided.

Add assertions to the BMO, Storage and TaskList classes

Several methods in these classes require important assumptions to hold true in order for the program to run.

Assertions for these conditions to the code helps the debugging process.

Let's add assertions to these classes.
Parse parse method is too long and handles both input type checking and input format checking.

Having smaller methods to handle the different types of possible inputs makes the code more readable.

Let's update the parser method to handle only input type checking, and abstract out input format checking to appropriate methods.
Add assertions to Deadlines and Events classes
@huekoh huekoh merged commit 2788eba into master Feb 26, 2024
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

Successfully merging this pull request may close these issues.

2 participants