Skip to content
PodSubs
ShowsPeopleGuestsJobsNewsEvents
More
BlogPodCred
Menu
ShowsPeopleGuestsJobsNewsEventsBlogPodCredNetworksSign in
Join nowSign in
  • Shows
  • People
  • Jobs
  • News
  • More
    • Guests
    • Events
    • Blog
    • PodCred
    • Networks
    Join nowSign in

Empower Apps

Empower Apps artwork

Managing Code Quality with Anne Cahalan

Mar 1, 202059 minAudio

Guest Anne Cahalan Twitter @northofnormal Github northofnormal Related Episodes Episode 36: Upgrading Your Skills in 2020 with Paul Hudson Episode 34: Server-Side Swift with Tim Condon Episode 24: Continuous Integration with Kyle Newsome Episode 14: iOS App Architecture with René Cacheaux and Josh Berlin Related Links Swift For Good - UI Design by Dave Delong Goodbye Clean Code by Dan Abramov Sponsors BrightDigit Specialize in helping businesses build apps for iPhone, iPad, Mac and Apple Watch 10 years of experience developing for a variety of Apple platform Helping dev shops which lack experience with Apple platforms and Swift Contact me if you need help today. We have an opening for sponsors Do you have a product or service which can target our ever growing community of developers as well as technology and business leaders? Contact me today if you are interested in sponsoring or go to our Patreon page. What is Code Quality Making Code that's easy to maintain Low Cyclomatic Complexity Making your code easily testable Your code should read like sentences Avoid fancy short code for more wordy code Messy code is easier to fix then over-engineered code While the integration may be complex, keep your code separated into simple parts Why is Code Quality Important Saving Time = Saving Money Easy to Maintain and Easy to Update Shorter Onramp for New Developers Code Rots over Time (Delegation Patters vs Subscriber/Publisher Model) Addresses Tech Debt When should you upgrade your code When it makes sense Use Interoperability (bridge headers, HostingControllers, ViewRepresentable, etc...) to slowly bridge the gap Be careful leaving too much old code behind Good Swift Code Quality Use argument labels and parameter name correctly Avoid ternary operators Avoid switch statements with too much logic and cases Use Generics judiciously Extensions are great for separating Protocol implementation Good Code Reviews and Pull Requests Clear your mind Use pull requests and templates Add context and details to the pull requests Use screen shots to show what the result is Communicate clearly what is going on Let them know what to look at and what is a work-in-progress What Can Managers Do Set a great example Provide enough time to the team for quality code Have some background and experience with quality code Be attentive and open to what your developers say Allow time for unit testing Code Quality Tools SwiftLint and SwiftFormat Codecov - for code coverage CodeFactor and CodeClimate - for code quality Having a human look at code is always best Be thoughtful and considerate for each decision Leo's Swift Package Automated CI Template - WIP Social Media Email leo@brightdigit.com Twitter BrightDigit - @brightdigit Leo - @leogdion LinkedIn BrightDigit Leo Instagram - @brightdigit Patreon - empowerappshow Credits Music from https://filmmusic.io "Blippy Trance" by Kevin MacLeod (https://incompetech.com) License: CC BY (http://creativecommons.org/licenses/by/4.0/) Thanks to our monthly supporters Steven Lipton ★ Support this podcast on Patreon ★

Audio and video play straight from the show's own hosting. PodSubs stores and serves no media.

Hosts and Guests

Hosts

  • Leo Dion Host Feed-stated

Guests

  • North of Normal Guest Feed-stated

Credit the people on this episode

Be the first to rate this episode

More episodes

All episodes
  1. Not Accessible by Default with Rob Whitaker

    Nov 16, 20261 hr 10 minAudio

    Rob Whitaker joins Leo to talk about why accessibility doesn't come for free, not even with SwiftUI. Rob, an iOS engineer specializing in accessibility, author of Developing Inclusive Mobile Apps, and a member of the...

    Credit the people on this episode

  2. You’re Better Than AI with Daniel Steinberg

    Nov 9, 202651 minAudio

    Daniel Steinberg returns to chat about Apple's Foundation Models framework and what changed in OS 27. We get into using AI only where it's appropriate, experimenting with #Playground, falling back gracefully when the...

    Credit the people on this episode

  3. Do the Wrong Thing Much Faster with Graham Lee

    Nov 2, 20261 hr 12 minAudio

    Graham Lee returns to chat about what it takes to become a software centaur: using AI to get better at the craft, not just faster. We get into why the job was never about typing code, meat proxies and Jevons paradox,...

    Credit the people on this episode

  4. Then 20 Years Later with Georg Tuparev

    Oct 26, 202643 minAudio

    Georg Tuparev stops by to chat about software that outlives its plans: projects scoped for a few months that are still in development 20 years later. We get into running a small team of physicists and astronomers, why...

    Credit the people on this episode

  5. We Don’t Have Any Futures or Promises Anymore with Tim Condon

    Oct 16, 202647 minAudio

    Tim Condon stops by to chat about Vapor 5, the biggest Vapor release in six and a half years. We get into dropping futures and promises for Swift concurrency all the way down the stack, Span and strict memory safety,...

    Credit the people on this episode