Swift by Sundell cover image

80: “Lists and loops”, with special guest Nick Lockwood

Swift by Sundell

CHAPTER

Is There a Difference Between Games and Apps?

Games are all about lists and loops like this. And you're right that you don't tend to see these things so much in traditional apps. So next I would like to talk a little bit about the different styles or types of algorithms that we could write. You can write an algorithm in a kind of imperative way where you are specifying your data upfront. But then you also have different styles as well. You can kind of opt for a more functional approach. Like operations like map and filter and flat map. And you can kind of structure things in a more functional manner.

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.
App store bannerPlay store banner