Week 14 Class 23 Thu Apr 16 Posted: Apr 16
After Class
Project 4 I added back the manual instructions to change from template to handler. You can do that as an alternative to the pull request.
If you did pull the request handler before you were done with template, then let me know and I can manually fix it.
If you have any issues or questions on converting from template to handler for the file setup, let me know.
Guide: Contiguous Container Allocation I renamed this to clarify that reallocation is for contiguous containers. I also added links to the code where the new size is calculated.
Announcements
Exercise 81: Software Development Habits Survey This is an optional exercise that involves taking an outside survey. The survey involves making changes to code in a browser-based editor. See the Brightspace anouncement for more information, and how to get a screenshot to prove your survey completion.
Upload the screenshot to Brightspace. Due by Noon on Fri, Apr 17.
Agenda
Benchmark: reserve() before processing
Notes: Design Pattern Strategy
Define a family of algorithms, encapsulate each one, and make them interchangeable
Strategy lets the algorithm vary independently from clients that use it
Unless otherwise noted, exercises are due by 3:30 pm on Mon, Apr 20