DEV Community

Nathan Mattes
Nathan Mattes

Posted on • Originally published at zeitschlag.net on

1

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.

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay