Python Function Call Semantics

preview_player
Показать описание
0:00 Learn how function calls are evaluated behind the scenes in Python
2:21 Diagraming a function call in memory in Python with an environment diagram
3:54 Diagramming a function definition statement in an environment diagram
5:53 Diagramming a function call expression in an environment diagram
7:21 Steps to verify correctness of a function call evaluation and prepare for it
8:24 Fully evaluate argument expressions
9:16 Check for argument and parameter agreement in number, types, and order
11:13 Establishing a frame for a function call expression
12:22 Establishing the return address of a function call frame
12:58 Parameter passing into a function call frame
15:30 Notes on establishing a frame for the evaluation of a function call in Python
17:46 Evaluating the body of a function call in the context of a call frame
19:15 Evaluating a return statement in a function's evaluation
22:30 Notes on the return statement in Python
26:03 Commentary on why memory diagrams are important to master
27:27 Important notes about the return statement and its semantics
30:00 Example of return statement semantics
Рекомендации по теме
Комментарии
Автор

Best explanations anywhere, hands down. I wish Kris had an advanced Python (or any other language) series on offer.

matematleta
Автор

thank you Prof Kris for all these videos.

Fortnite-rvxl
Автор

Sir please make a video on closures and lexical scoping in python. If like these videos you'll put on your platform with well diagramatic approach that you actually do, this actually makes your content valuable... and makes us visualisation better to excites us to learn more. Lot's of love and hat's off appreciation to your work...

wonderfulworld