CS in Algebra: Design Recipe

Channel:
Subscribers:
445,000
Published on ● Video Link: https://www.youtube.com/watch?v=0iybPiGep4w



Duration: 3:04
9,212 views
12


What’s the best way to design really great functions? By using the Design Recipe, of course!

The Design Recipe has three parts - the Contract, Examples and the Definition.

The Contract describes what data types your function takes as it’s Domain and returns as its Range. Examples show your function how it should operate given specific inputs. The Definition defines how your function interacts with the data passed to its Domain to produce its Range.

Help us caption & translate this video!

http://amara.org/v/61QK/







Tags:
Code.org
computer science
code
Hour of Code