November 2017
Intermediate to advanced
670 pages
17h 35m
English
The values in the Context are affecting the control flow of the application. Let's refactor it:
RunReport(reportName, filter)
In this case, using Context to pass values only obfuscates our intention and makes our code less readable. We'd be hard pressed to find a good use case for Context values in real-world applications.