Wacky Programming Tales
Mark W. Schumann
catfood at apk.net
Thu Aug 19 10:19:20 EDT 1999
In article <37b62939 at cs.colorado.edu>,
Tom Christiansen <tchrist at mox.perl.com> wrote:
>Gosh yes. I think it was the rogue source that had something like:
>
> #define until(expr) while(!expr)
> #define otherwise break; default:
>
>I don't remember whether it also had these, but I have
>seen them elsewhere:
>
> #define forever() for(;;)
> #define unless(expr) if(!expr)
I've seen
#define ARBEGIN {
#define AREND }
in Clipper (a somewhat C-ish language in this regard) code.
Eh?
More information about the Python-list
mailing list