Treehouse Intermediate Course - Part 14 (Delegation 1)
So a slight change of plans - one more theoretical course before the practical one. I'm doing that because I get the feeling that delegation is going to be useful before the practical courses. So I'm going to do this one - a bit shorter than the last two. Some today before going to a barbecue! Start Time - 12:15 Introduction to Design Patterns During days of early software development, there were general problems, which have general solutions. These are called DESIGN PATTERNS! General and reusable, regardless of the domain. Decorator pattern - structural pattern. This is concerned with how we add responsibilities to an object dynamically at run time, rather than at build time etc. So a general intro! Racing Horses Cool, a link to a game! Right source code copied over. I like the sound of this. There are horses with max speed. But they won't run at that all race. So their speed will be varied during the race by querying a speed. So the random function I a...