I'm sure there would be lotsa interest me included.
A lot of these problems occur because its easier to 
do this in the short run. However doing things in 
the short run almost never pays off.

Kerry Sainsbury wrote:
> 
> I absolutely agree with you.
> The automatic Application.CreateForm(TForm1, Form1) code is disgusting.
> The automatic creating of a global variable in the form's unit is disgusting.
> The fact that components dropped on a form have public scope is disgusting.
> 
> People: You should NOT be using these 'niceities' in your code.
> 
> If I organised a 'How to write nice Delphi code' or 'How to use Delphi properly' 
>style training session, do you think anybody would be interested in attending? I 
>think it would be especially useful to new developers.
> 
> This would have to be a real you-have-to-pay-money training course, to keep Annie 
>happy (and me employed).
> 
> Waddaya reckon folks?
> 
> Cheers,
> Kerry "The new guy at Inprise" S
> 
> *********** REPLY SEPARATOR  ***********
> 
> On 8/19/99 at 3:30 PM Aaron Scott-Boddendijk wrote:
> 
> >> Whew! I feel slightly vindicated about my comment about circular
> >> references usually indicating a problem with design.
> >
> >> The place I encounter it most often is with people who have a zillion
> >> forms, all of which have references to one another. Yuck!
> >
> >one gripe I have relating to forms is the automatic adding to the DPR
> >file of
> >
> >Application.CreateForm(TFormX,FormX);
> >
> >since most of my forms are designed to be reused they do not have
> >a form object variable at all as these are created on the fly either as
> >local variables or structures like
> >
> >with TFormX.Create(nil) do try
> >  if ShowModal(MyParameter)=mrOK then...
> >finally
> >end;
> >
> >Another one is the naming scopes for components when hijacking controls
> >off another form can get you into trouble especially if you're a keen user of
> >actionlists and often don't name your Toolbar buttons since all interaction is
> >managed by the actionlist.  Forms don't like having 2 components named the
> >same even if the duplication is 'owned' on another form...
> >
> >--
> >Aaron Scott-Boddendijk
> >Jump Productions
> >(07) 838-3371 Voice
> >(07) 838-3372 Fax
> 
> ---------------------------------------------------------------------------
>     New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
>                   Website: http://www.delphi.org.nz

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to