Skip to content
This repository has been archived by the owner on Jul 5, 2018. It is now read-only.

Closures presentation needs animations, syntax examples #1

Open
ybakos opened this issue Jun 9, 2015 · 0 comments
Open

Closures presentation needs animations, syntax examples #1

ybakos opened this issue Jun 9, 2015 · 0 comments

Comments

@ybakos
Copy link
Member

ybakos commented Jun 9, 2015

The Closures presentation is a bit weak and only illustrates the very basics of passing a block of code. This is because the presentation was derived from an older one about Objective-C blocks.

Improving the concept of passing closures could really benefit from some animation.

In addition, an animated progression from passing a function name, to a closure expression, to a closure expression without any type annotation, to using shorthand argument names ($0), to trailing closures would be very beneficial for students to see. The experience should be like whittling down from functions down to really terse trailing closure syntax.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant