Swift Dead Code Analysis

Поделиться
HTML-код
  • Опубликовано: 9 фев 2025
  • Sniff, sniff! 👃
    Is it Duplicate code? No!
    Long method? No!
    Ah! It is dead code 🤯
    The problem with dead code is that after a while it starts to “smell bad.” The older it is, the stronger and the sourer the odor becomes.
    The other day I was talking to my ex-colleague and he told me that while working on a new feature, he had to refactor a lot of code that ultimately increased the scope of the work. He had to handle so many edge cases only to realize at the end that he was dealing with dead code 😂
    In this episode we will show a tool to analyze and find dead code in your project.
    Let us know your thoughts.
    In this episode we're using Periphery as out dead code analysis tool: github.com/per...
    The code snippet for the script we used in our video can be found here: github.com/Ins...
    The whole project can be found here: github.com/Ins...
    Sign up for Alex's upcoming video course about iOS System Design Interview: iosinterviewgu...
    Need to prepare for an iOS Engineer Interview?
    iosinterviewgu...
    Connect with us: / insideiosdev
    Email us at hello@insideiosdev.com

Комментарии • 4