Fully Bracketed Syntax

Gene Chiaramonte gchiaramonte at ibl.bm
Fri Feb 11 12:55:04 EST 2000


I like indentation so much I now write my Delphi code like this:

with SaveDialog1 do begin
        DefaultExt := 'prt';
        Filter := 'Portfolios (*.prt)|*.prt';
        InitialDir := flvPortfolios.Directory;
        if Execute = True then begin
            id := GetNextId;
            fname := FileName;
            frmMain.New(id, fname);
            end;
        end;

Now if Borland will just get rid of the begin ... end and switch to python
from Pascal, they'd really have something. It might even save them from
bankruptcy.

Gene





More information about the Python-list mailing list