I
our lesson on abstraction uses the
familiar concept at Mad Libs where you
basically insert have blank
in a story that can be filled with lots
of different where
we take that idea challenge the kid to
come up with their
own words for their own story and really
explain
the concept of its actions it's all
about functions
and how you can have a function like in
the old McDonald
we have a structure for your chorus but
something little changers
so you extract out that little thing
that changes and you can fill it in with
your own word at the time
group but sometimes you have three words
that team
and so you fill those in with three
predators but still pretty helpful
you can happen one function handles
block
different problem lot of times people
alright separate functions for all those
problems
not realizing there's only one little
difference I think they could just find
a way to handle that one little
different
they could just be used one function
over and over again instead of having
flight
function
the
the the