That is a really good point. I spent some time putting ml equations into code and the code representation always seemed so much simpler to me. Many math equations seem a bit like too clever one liners in code haha
That's exactly it! It's basic clean coding style where it's better to use meaningful names and sometimes write something in 2 or 3 lines that is more interpret able than to write a perfect one-liner that no one will be able to unpack.
In this regard I almost wish we had a de-facto standard in math of presenting the 'condensed' perfect form of the equation and a more chunkier version.
What I like is that recently I saw some researchers annotating the symbols in their equations [1].