Preventing Code Smell in Swift
Originally published on http://daddycoding.com/2019/05/03/preventing-code-smell-in-swift
The term code smell was introduced by Kent Beck on WardsWiki in the late 1990s. Code smell shouldn’t be viewed as a bug but they are an indication of weakness in design that could potentially slow down future development or increase the risk of bugs or failures in the future.
Code smell would often lead to refactoring.
Let’s identify some of the code smell in Swift