Week 13 Class 24 Tue Nov 18 Posted: Nov 18
After Class
The list of refactorings to perform for Project Streaming is now available. See the link in the project.
These refactorings must be performed. Some are dependent on previous refactorings.
Other refactorings may also be performed.
Announcements
Project 3: Code Analysis TDD I see some of you are trying to parse the file extension to see if it is an archive. That is a wild-goose chase. Here are some of the current extensions that you would have to detect:
Make sure to scroll to see them all.
Oh wait, I forgot you can have multiple compressions applied:
Again, scroll to see them all.
To make it worse, the set of archives & compressions expands all the time.
The solution is not for your code to determine if it is an archive (or not) based on the file extension. The current rules give you enough information.
Class
Exercise 61: Defactoring
This exercise optional. If you complete it, it will replace your lowest (or missing) exercise score.
Note that you may already have credit for this exercise. Check the score and feedback in Brightspace before starting.
Convert from guard clauses to nested conditionals. This is not a refactoring, but a reverse refactoring. Make sure to build and test at every step.
This requires that you did Exercise 58: Team Replace Nested Conditional with Guard Clause Refactoring. If you did not, there is already and score of 0 and a note in the feedback on Brightspace.
Exercise 62: Software Engineering Paradigms I Crossword We did not finish the notes, so this will be due on Friday
Exercise 63: Team Streaming Meeting I
Each member of the team must create an issue for Project Streaming. By the end of the class period the subject of the issue is required. You have until 3 pm on Wed Nov 19 to finish the description. The description cannot be just a single sentence.
Unless stated otherwise, all exercises are due by 3 pm on Wed Nov 19