6 Simple Tips on How to Start Writing Clean Code
Alex Devero
3.1K15

I agree with all of these steps.

However, point three is representative of the Single Responsibility Principle, not pure functions. SRP says that methods, interfaces, or objects should be responsible for one thing. Pure functions have to do with deterministic execution and not having side effects.

Show your support

Clapping shows how much you appreciated Duncan Munro’s story.