while true is a somewhat usual pattern (although it has alternatives like (while (not (-> (Thread/currentThread) .isInterrupted)), which assumes the loop will be interrupted somehow.
It'd be nice to support it OOTB, only for the true value, using the new :qualifier mechanism.
while true
is a somewhat usual pattern (although it has alternatives like(while (not (-> (Thread/currentThread) .isInterrupted)
), which assumes the loop will be interrupted somehow.It'd be nice to support it OOTB, only for the
true
value, using the new:qualifier
mechanism.