Andrei Pelinescu-Onciul writes:
You don't becaue that are languages were an infinite while() makes sense. In a sip-router script the while() by itself is strange, and an infinite while is an abomination :-)
if someone writes
while(1)
i'm pretty sure, he/she knows what he/she is doing.
i would replace 1 with a variable, but result would slower and three statements longer.
-- juha