Debugging custom properties &
calc() functions are not the best DX (Developer experience), yet. One way is to enforce good coding practices to help avoid issues. One of those reasons - is enforcing immutability.
Please read the article and let me know if you see more benefits that I might have overlooked!