Things you shouldn't do

Richie Hindle richie at entrian.com
Wed Mar 30 04:01:29 EST 2005


[Steven]
> If you have access to a syntax-aware editor, it will 
> help avoid such problems

Seconded.  Here's my favourite real-world example of where the lack of
syntax colouring cost several man-days of work (though this couldn't
happen with modern C compilers):

extern void get_s(short* s);

void f()
{
    int i;        /* An integer to do something /*
    short s;      /* A short to do something */

    get_s(&s);
    /* Do something with s */
}

-- 
Richie Hindle
richie at entrian.com




More information about the Python-list mailing list