Continued debugging my command line interface and adding some necessary business features.
Previously a new committee was only checked against the main list of names. Now, it is split by type of committee to prevent switching between types.
Add ability to print suggestions to user if committee selections are double, advising them to change the other delegate in the same committee if needed.
Fix twin logic error and place code into more organized functions.
With this part of the debugging, I began to understand the importance of splitting all code into functions, and grouping those functions into classes. Previously, all my code was a rough draft minimum viable product designed to just get the job done. Now, with the need to edit things in the future and share with other developers in my team, I began to sort things into functions (which turn out to be amazingly useful and easy to debug). In the next update I might begin writing classes.
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.