Member-only story

Separation of Concerns in Swift

Keep ’em separated

Steven Curtis
6 min readJul 18, 2023
Photo by Marcelo Leal on Unsplash

Separation of Concerns (SoC) tackles a couple of the biggest considerations in software development (simplicity and maintenance), and presents modularity as a design principle which ideally results in software that is easier to create and maintain.

However, since this is software development we should be aware of the potential disadvantages in employing this design principle (since nothing is free).

Prerequisites:

Terminology

Separation of Concerns: A design principle for separating a computer program into distinct sections

Separation of Concerns (SoC)

If you wish to keep your application maintainable and easy to use, you should be aware of Separation of Concerns (SoC), and consider using the design principle while designing and creating your software. As with any approach to software, care should be taken that you consider the reason for doing something, as well as the advantages and disadvantages of doing the same.

--

--

No responses yet