[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Discouraged programming practices
- To: RAM@C.CS.CMU.EDU, common-lisp@SU-AI.ARPA
- Subject: Discouraged programming practices
- From: Guy Steele <gls@THINK-AQUINAS.ARPA>
- Date: Thu, 26 Sep 85 10:51 EDT
- Cc: gls@THINK-AQUINAS.ARPA
- In-reply-to: <RAM.12146204226.BABYL@C.CS.CMU.EDU>
Date: Wed, 25 Sep 1985 22:12 EDT
From: Rob MacLachlan <RAM@C.CS.CMU.EDU>
Another discouraged programming practice is to write
as it may be difficult to terminate the execution of this form.
WITHOUT-INTERRUPTS is not a part of Common-Lisp, but it should be.
Maybe we should regard it as a valid compiler optimization to compile
this idiom as an exit to the operating system with a message such as
"I'm bored. This program will never terminate, so let's do something else."
This could give greater credence to the joke about a supercomputer
so fast it executes an infinite loop in two seconds.