Python "with"
Bruno Desthuilliers
bruno.42.desthuilliers at wtf.websiteburo.oops.com
Mon Sep 17 10:59:14 EDT 2007
Grant Edwards a écrit :
> On 2007-09-17, Laurent Pointal <laurent.pointal at limsi.fr> wrote:
>
>> Note3: Its funny to see how Python users tries to change the language,
>> does this occure with C, C++, Java, C# ?
>
> Yes. I remember somebody I worked with once who write a C
> program using a whole pile of macros to make it look like BASIC:
>
> #define IF if (
> #define THEN ) {
> #define ELSE } else {
> #define ENDIF }
>
> and so on...
FWIW and IIRC, one of the rationales for C preprocessor macros was to
let Pascal programmers make C looks like Pascal !-)
More information about the Python-list
mailing list