SOEN344 Tutorial Notes
Software Architecture and Design II - Concordia University

Tutorial Leader Section SC @ H633 ---J- 14:45-15:35

Remember to fill out the TA/Lab instructor online evaluations

Tutorial 7

We continued preparing for the midterm!

Tutorial 6

We started preparing for the midterm!

Final Project Tip 🕵🏻‍♀️

To search for patterns programmatically you can use the following compound command inside the (mac / linux) terminal. It returns the list of files, pipes it into grep using a regular expression... and finally the file name that contains the pattern is displayed along with the line number of the occurrence and a snapshot of the matching string.

find . -type f -print0 | xargs -0 grep -nrEi 'singleton|decorat|factory|composite|builder|facade|bridge|memento|strategy|visitor|observer'
This is just an example of the power of shell scripting...

Tutorial 3

Clone the following repository
It contains three Java Eclipse projects, decoratedFractal/, a working CoffeeShop with the Decorator pattern and a broken CoffeeShop. You are supposed to fix the broken CoffeeShop and also add the missing lines to the decoratedFractal implementation. Decorator pattern implementation.