Skip to content

Latest commit

 

History

History
19 lines (17 loc) · 398 Bytes

File metadata and controls

19 lines (17 loc) · 398 Bytes

Replace Derived Variable with Query+

Why?

  • You see a variable which stores a calculation.

Benefits:

  • Avoid a possible issue related to mutable data.

What?

  • Remove variable with calculation, where is possible.

How?

  • Identify all points where the variable is used.
  • Test

Sample

Before

After refactoring