Code Completion

59: Premature Abstraction Is The Actual Root Of All Evil


Listen Later

Welcome to Code Completion, Episode 59! We are a group of iOS developers and educators hoping to share what we love most about development, Apple technology, and completing your code!

Follow us @CodeCompletion on Twitter to hear about our upcoming livestreams, videos, and other content.

Today, we discuss:

  • Code Completion Club: https://codecompletion.io/jointheclub
  • Indie App Spotlight, with a new app for you to check out:
    • Morpho by Jeremy and Casey
    • Abstraction while coding
      • Ben Eater
      • Steve Mould’s Water Computer
      • Mini Review Corner:
        • Legend of Zelda Game and Watch
        • Also, join us for #CompleteTheCode, a segment that tests your knowledge on Swift, Apple, and all things development!

          Your hosts for this week:

          • Spencer Curtis
          • Dimitri Bouniol
          • Be sure to also sign up to our monthly newsletter, where we will recap the topics we discussed, reveal the answers to #CompleteTheCode, and share even more things we learned in between episodes.

            You are what makes this show possible, so please be sure to share this with your friends and family who are also interested in any part of the app development process.

            Sponsor

            This week's episode of Code Completion is brought to you by Not Phở. Search for Not Phở on the iOS and macOS App Stores today to give it a try. https://apps.apple.com/app/apple-store/id1525104124?pt=14724&ct=CodeCompletion1&mt=8

            Complete the Code

            How can you make all calls to loadImage() run concurrently, and return images in the same order?

            // How can you make all calls to loadImage() run concurrently,
            // and return images in the same order?
            func loadImages(_ ids: [UUID]) async {
            var images: [Image] = []
            for id in ids {
            let image = await loadImage(id)
            images.append(image)
            }
            return images
            }

            Be sure to tweet us with hashtag #CompleteTheCode if you know the answer!

            ...more
            View all episodesView all episodes
            Download on the App Store

            Code CompletionBy Code Completion

            • 4.4
            • 4.4
            • 4.4
            • 4.4
            • 4.4

            4.4

            7 ratings