Hint: You can adjust the default video playback speed in your account settings.
Hint: You can set your subtitle preferences in your account settings.
Sorry! Looks like there’s an issue with video playback 🙁 This might be due to a temporary outage or because of a configuration issue with your browser. Please see our video player troubleshooting guide to resolve the issue.
Walrus Operator Use Cases
00:00 Walrus operator use cases.
00:04 In the next sections of the course, you’ll see several examples where the walrus operator can simplify your code. A general theme in all these examples is that you’ll avoid different kinds of repetition.
00:16 Repeated function calls can make your code slower than necessary. Repeated statements can make your code hard to maintain. Repeated calls that exhaust iterators can make your code overly complex.
00:31 You’ll see how the walrus operator can help in each of these situations, starting with debugging.
Become a Member to join the conversation.