DEV Community

Nathan Mattes
Nathan Mattes

Posted on • Originally published at zeitschlag.net on

100 Days of SwiftUI — Day 7

Seventh day means seventh blogpost. Today was the second day about closures. I still find them hard, but they somehow make more sense to me now. I also appreciate that Paul split this into two days.

Instead of reading the text I watched the videos again and I really like, that Paul reads the code out loud instead of just showing it. It makes it much easier to understand, what the code does. This helped me to understand closures a bit more, especially when it comes to closures as return-values from a function, for example.

Maybe I should give this a try from time to time, too? Some people buy rubber ducks for this and apply this technique to debugging.

Top comments (0)