Week 12 Class 23 Thu Nov 13 Posted: Nov 13
After Class
Project 3: Code Analysis TDD Exercises 59 & 60
These are the last exercises for feedback on Project 3. Note the due date.
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.
Announcements
Good Development Colleague
The following are things not to do for or Project 3 and in general when making changes to an existing code base. The examples shown are violations and should be fixed if part of your code. Not doing so will lead to points off.
Do not use inconsistent indentation
Do not change the header comment:
Do not violate the existing coding style
Do not change things you don't understand:
Do not change the value of fields you are not testing
Do not automatically put the return with the previous statement, unless it is part of the processing
(For this assignment) any local variable you add should, in almost all cases, have an initialization, not just a declaration
Class
Unless stated otherwise, all exercises are due by 3 pm on Fri Nov 14