Welcome to Week 5 and Day 21. We’ll dive deeper into functions this week.
Scoping Rules, Closures, and Decorators
00:00 This week we’ll carry on building on functions, and we’re going to go quite a bit deep into what’s, what else there’s left to learn about functions today.
00:09 We’ll start with the scoping rules. The scope is that part of a program where certain names exist. For example, as you know, if you define a variable name within a function, that not only exists within the function itself, but there are actually four different types of scope, and we’ll learn about them today and then we’ll move on.
00:31 We’ll use that knowledge to talk about closures and decorators later this week.
You must own this product to join the conversation.