|
|
|
|
|
by barco
856 days ago
|
|
If you name it `NUMBER_ELEMENTS_AVERAGED`, then when you add a new element to average, you will miss the fact that you also need to modify that value :) You either have them on a list and calculate it dynamically based on the size, or have it as a magic number. |
|