You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
createFIFOPurchaseLineSeries() vs createMovingAveragePurchaseLineSeries()
addFIFOPurchasePrice() vs addMovingAveragePurchasePrice()
- are duplicated functions, differing only in dependent methods they call / values they use. Duplication means that a bugfix would be applied to only one of copy, that they diverge over time, etc. Instead, they should be refactored to be parameterized via arguments or use switch to capture differences between methods.
The text was updated successfully, but these errors were encountered:
-
are duplicated functions, differing only in dependent methods they call / values they use. Duplication means that a bugfix would be applied to only one of copy, that they diverge over time, etc. Instead, they should be refactored to be parameterized via arguments or useswitch
to capture differences between methods.The text was updated successfully, but these errors were encountered: