
117: “Swift 5.7, generics, and the road to Swift 6”, with special guest Ben Cohen
Swift by Sundell
Swift Regular Expressions
Rage literals are a way of expressing what you're trying to achieve, in terms of searching or replacing things in inside strings. It actually allows you, within the builder, to use rages when they're nice and short. The analogy i've been using is actually with that of closes - passing a closure into a function can map um, closers for like this really great example. You can even use dollar zero and one, so long as it's clearly clear what they're doing. And then if it gets a little bit longer than expected, you probably need to start naming the arguments. But I'm personally a big fan of regular expressions. When used appropriately, they
00:00
Transcript
Play full episode
Remember Everything You Learn from Podcasts
Save insights instantly, chat with episodes, and build lasting knowledge - all powered by AI.