Sitemap
Swift Algorithms & Data Structures

Modern code, Illustrations & Computer science

Member-only story

5 Tips for Writing Your Own Algorithms in Swift

--

Recently, a great developer enrolled in my weekly iOS Computer Science Lab approached me with a link on how to write a popular algorithm in Swift. Since we review similar concepts in class, I was intrigued and proceeded to check out the details. Even though the essay had received many views (likes), disappointment set in as I realized portions were lacking, were poorly communicated and technically incomplete. To support my assumptions, the author was unable to answer questions asked by audience members.

It’s common for a developer to be asked by a project manager or stakeholder to “codify” some new process or business rule. Many solutions can be fulfilled through predefined SDK Framework functions or third-party libraries. Other times we have to roll up our sleeves and think about how a system or process could work. In essence, this is the value we bring to a business or project. As a result, here are five tips to consider when writing your own algorithms. These suggestions can be applied during a technical interview or when planning your next project.

Understand The Process

As you write your algorithms, considerable focus should go towards understanding the system or process you’re trying to capture. The more you know the process data inflows and outflows, the more you’ll make good design and…

--

--

Wayne Bishop
Wayne Bishop

Written by Wayne Bishop

I write about Swift Development & Computer Science. Let's connect on LinkedIn at - www.linkedin.com/in/waynebishop.

No responses yet