This commit is contained in:
poly000 2022-01-08 23:18:44 +08:00 committed by GitHub
parent dca0dfdc29
commit bcf1a7aeae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,7 +22,7 @@ Imagine we are working on a project that generates reports every month.
We need the reports to be generated in different formats (strategies), e.g., We need the reports to be generated in different formats (strategies), e.g.,
in `JSON` or `Plain Text` formats. in `JSON` or `Plain Text` formats.
But things vary over time, and we don't know what kind of requirement we may get But things vary over time, and we don't know what kind of requirement we may get
in the future. For example, we may need to generate our report in a completly new in the future. For example, we may need to generate our report in a completely new
format, or just modify one of the existing formats. format, or just modify one of the existing formats.
## Example ## Example