Update src/patterns/behavioural/strategy.md

pull/366/head
Marco Ieni 1 year ago committed by GitHub
parent 5796334fb2
commit e172783c3d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -98,8 +98,8 @@ The main advantage is separation of concerns. For example, in this case `Report`
does not know anything about specific implementations of `Json` and `Text`,
whereas the output implementations does not care about how data is preprocessed,
stored, and fetched. The only thing they have to know is a specific
trait to implement and its method defining the concrete algorithm implementation processing
the result i.e,`Formatter` and `format(...)`.
trait to implement and its method defining the concrete algorithm implementation processing
the result, i.e., `Formatter` and `format(...)`.
## Disadvantages

Loading…
Cancel
Save