Update article.md

Maybe this is what you want. "Complexity" is singular, so if that's the antecedent, one would use "was".
This commit is contained in:
paroche 2019-08-27 21:46:58 -06:00 committed by GitHub
parent 4d305484bd
commit 3b96e2519d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -58,7 +58,7 @@ From an outside code, the wrapped `slow` function still does the same. It just g
To summarize, there are several benefits of using a separate `cachingDecorator` instead of altering the code of `slow` itself:
- The `cachingDecorator` is reusable. We can apply it to another function.
- The caching logic is separate, it did not increase the complexity of `slow` itself (if there were any).
- The caching logic is separate, it did not increase the complexity of `slow` itself (if there was any).
- We can combine multiple decorators if needed (other decorators will follow).