Applying SOLID Principles Using a Functional Approach in Kotlin and Scala
Briefly

In functional programming, SRP can be implemented by creating small, focused functions that handle a single task, ensuring changes can be localized and impact minimal.
Applying the Open/Closed Principle in functional programming emphasizes that functions should be designed to accept additional behaviors through parameters rather than altering existing function definitions.
Read at Medium
[
|
]