This Week I Learned #27

Assumed audience: people interested in learning and metacognitive tools.

Here are some of the things I learned this week, in the order I’ve noted them down.

  • 尻拭い (shiri-nugui). The literal meaning is “ass-wiping”, but the figurative meaning is to clean up somebody’s else mess.

  • 自業自得 (jigou-jitoku): Reap what you sow.

# Programming

  • I have used SwiftUI’s LazyVGrid for the first time and I am quite pleased with the result. The API was easy to figure out, despite the lack of documentation, and the performance has been decent for my particular use case. I even managed to achieve an interesting visual effect by wrapping two lazy grids in a ZStack.

  • In UI programming, working with states other than the happy path represents at least two thirds of the work. In particular, the transitions between success, error, and loading states take an inordinate amount of time to get right.

Have feedback or questions? Drop me a line via the contact form, Twitter, or Mastodon.
Found any typos? Edit the post here.