“I would also like the readers to understand that it's more of a workaround than a solution.” - only if it’s avoidable since in the environments where we can’t have proper immutability this is the solution.
Fair enough, it’s a point though. Thanks for the comments!
Mmm.. interesting philosophical topic. I really need to think about it. Thinking here now. I would say that it's a workaround, which is the appropriate solution for the situation (as opposed to refactoring the original function, which is not possible).
Keeping it in mind and in comments as "workaround" should potentially push more towards the "real" solution when it becomes possible.
I guess "workaround" is specific type of solution in this situation. Between two words when one is more specific, I choose the specific one unless I specifically want to generalize.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.