—
if (quantum === null) quantum = this.quantum;
— Or q === null && q = this.quantum
— I dislike short circuiting
— If i replace &&
with and
will it be better?
— In livescript it could be
q = quantum if q == null
— Imo it is abuse of a logical operator
— If I don't use the result of the expression, it shouldn't exist in my code