Skip to content

Commit

Permalink
Fix typo in the post
Browse files Browse the repository at this point in the history
  • Loading branch information
Zaprogramiacz committed Nov 28, 2024
1 parent 4b6292a commit a3fa5e0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion content/posts/series/swift-code-refactor/1/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ Swift code refactor in action 👨🏻‍💻
Common scenario: formatting user profile name - I bet any of you faced this kind of task.

At first glance, it look straightforward, but when you take a closer look, you’ll notice two potential improvements:
1️⃣ One single return - simplification of the the function flow.

1️⃣ One single return - simplification of the function flow.

2️⃣ Centralised formatting logic - reduces the chance of bugs.

Check out the animated gif and the code where I refactor to address these issues.
Expand Down

0 comments on commit a3fa5e0

Please sign in to comment.