Handeling Edge-cases #3
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
oitsjustjose/CPSC4100#3
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
We need to determine how we are going to handle invalid commands. I see two types of invalid commands a user could provide:
draw_hoizontal_line, -10, -10, 10draw_horizontal_line, 10, 10, 9999I vote we just no-op in both cases. If a command starts invalid, we do nothing.
If a command starts drawing off the edge, we simply stop drawing.
I've no-op'd invalid inputs on my part 😄