Skip to content

Commit

Permalink
Merge pull request #29 from karlssberg/karlssberg-patch-1
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
karlssberg committed May 9, 2024
2 parents e1c07bd + 71ec6f2 commit 9006416
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ It is safe to say that an if-statement does not do all this for you.
### How is this different from wrapping my logic in a function?

Wrapping your logic in a function is a good start when modeling propositions.
A function-per-clause approach is sensible, as it allows you to encapsulate related logic whilst separating your
A function-per-clause approach is sensible, as it allows you to encapsulate cohesive logic whilst also separating your
concerns.
However, as you start doing this, your code will start to look like an inferior version of the Specification pattern
(which is the pattern that Motiv is based upon).
Expand Down

0 comments on commit 9006416

Please sign in to comment.