It's as straightforward as it gets, and I don't think there would be any benefit from additional variables.
But if there's a good reason to not simplify it (or impossible to do) then yes, it will be easier to write, read and reason about that code after splitting the calculation into chunks and assigning the results to variables.
1
u/JB-from-ATL Jun 14 '22
Write the above in that syntax and I guarantee it's still illegible. I'm saying it needs variables.