@twostraws.bsky.socialPaul Hudson @twostraws.bsky.social
2026-11-18 15:09 UTC
For HWS+ subscribers: Swift's zip() pairs up elements from two sequences and automatically stops when the shorter one runs out. The whole implementation in the standard library is about 80 lines, and it's beautifully crafted. www.hackingwithswift.com/plus/inside-...
Link: Zipping sequences – Hacking with Swift+ (www.hackingwithswift.com/plus/inside-swift/zipping-sequences)
2 likes, 1 reposts, 0 replies
3 Next post4 More from @twostraws.bsky.socialBackBluesky home