-
Notifications
You must be signed in to change notification settings - Fork 16
Description
@amelinagzz - Feedback on the Optionals & Conditionals lesson
Same feedback as Lesson 1, break out the Playgrounds and interleave them with the TT
If Statement Put some images in to break up the text. Utilize them for analogies as well. Like this one
Conditional Repl.it vs Playground there's some overlap between these two (i.e. they both do the FizzBuzz variation). Worth keeping both in here? Maybe just one or the other. Or make one of them different, not much variety right now
Optionals: this first slide doesn't really show how optionals are different from variables. Maybe showing the difference more clearly, show something like String?
Images can help here too, like this one
and the images in this blog post are great for showing unwrapping in addition to optionals in general
Unwrapping Optionals: Not clear that we're using the same fosterDog
variable from before, so I forgot its name was Lentil. Needs a reminder somewhere here
Guard: Possible image you could use here
After Class:
Give links to Toggle: https://developer.apple.com/documentation/swift/bool/2994863-toggle
and to Pyramid of Doom: https://en.wikipedia.org/wiki/Pyramid_of_doom_(programming)