3 ms·
But everything else is not equal; the if-else construct is less clear, more error prone, and you must read it fully to make sure all branches are assignments an
by the_af 10y ago
But everything else is not equal; the if-else construct is less clear, more error prone, and you must read it fully to make sure all branches are assignments and that it's therefore logically equivalent to an assignment.