on writing a while loop for rolling two dice

Greg Ewing greg.ewing at canterbury.ac.nz
Tue Sep 7 21:07:47 EDT 2021


On 8/09/21 2:53 am, Grant Edwards wrote:
>    #define IF if (
>    #define THEN ) {
>    #define ELSE } else {
>    #define ENDIF }
>    ...

I gather that early versions of some of the Unix utilities were
written by someone who liked using macros to make C resemble Algol.

I guess you can get away with that sort of thing if you're a
Really Smart Person.

-- 
Greg


More information about the Python-list mailing list