2 ms·
* Cannot be known from the code: The intent to use the array as persistent storage in the future is driven by the ongoing work around feature F. * Cannot be kn
by TeMPOraL 6y ago
* Cannot be known from the code: The intent to use the array as persistent storage in the future is driven by the ongoing work around feature F.
* Cannot be known from the code: Feature F morphed into feature Q, and the function A doesn't really need that array anymore. Since nobody could tell why it was there in the first place, nobody removed it afterwards.
The next time someone has to make changes to function A, they'll be thankful for a comment or commit message that explains the first point above - as it'll let them complete the picture and realize it's no longer needed, so they don't have to worry whether their change is impacting anything else in the program through (mis)use of that array, but they can instead just go ahead and delete it.