4 ms·
An advantage of using intermediate variables is that they provide for a way to add comments without adding comments, in the form of the name of the intermediate
by Someone 14y ago
An advantage of using intermediate variables is that they provide for a way to add comments without adding comments, in the form of the name of the intermediate result.
That helps in particular when you are calling several generic functions in a row. Names of local variables can contain a bit more of the terminology of the problem at hand.