WEBVTT 00:00:03.009 --> 00:00:05.519 I 00:00:05.519 --> 00:00:12.519 our lesson on abstraction uses the familiar concept at Mad Libs where you 00:00:13.250 --> 00:00:15.000 basically insert have blank 00:00:15.000 --> 00:00:18.698 in a story that can be filled with lots of different where 00:00:18.699 --> 00:00:22.618 we take that idea challenge the kid to come up with their 00:00:22.618 --> 00:00:26.140 own words for their own story and really explain 00:00:26.140 --> 00:00:29.689 the concept of its actions it's all about functions 00:00:29.689 --> 00:00:33.049 and how you can have a function like in the old McDonald 00:00:33.049 --> 00:00:37.019 we have a structure for your chorus but something little changers 00:00:37.020 --> 00:00:41.620 so you extract out that little thing that changes and you can fill it in with 00:00:41.619 --> 00:00:42.839 your own word at the time 00:00:42.840 --> 00:00:47.039 group but sometimes you have three words that team 00:00:47.039 --> 00:00:51.370 and so you fill those in with three predators but still pretty helpful 00:00:51.369 --> 00:00:54.909 you can happen one function handles block 00:00:54.909 --> 00:00:59.339 different problem lot of times people alright separate functions for all those 00:00:59.340 --> 00:01:00.149 problems 00:01:00.149 --> 00:01:03.739 not realizing there's only one little difference I think they could just find 00:01:03.738 --> 00:01:05.859 a way to handle that one little different 00:01:05.859 --> 00:01:09.368 they could just be used one function over and over again instead of having 00:01:09.368 --> 00:01:10.250 flight 00:01:10.250 --> 00:01:15.359 function 00:01:15.359 --> 00:01:16.950 the 00:01:16.950 --> 00:01:21.250 the the