[Lazarus] typo in LCL comment

Juha Manninen juha.manninen62 at gmail.com
Sun Dec 23 22:57:53 CET 2018


On Sun, Dec 23, 2018 at 6:48 PM AlexeyT via lazarus
<lazarus at lists.lazarus-ide.org> wrote:
> {------------------------------------------------------------------------------
>    procedure TCustomForm.BeginFormUpdate;
>
>    Called after all children handles are created.
>   ------------------------------------------------------------------------------}
> procedure TCustomForm.ChildHandlesCreated;
> begin
> ...

I removed the comment block and moved the one line comment down.
In general those blocks are useless because they duplicate information
and they become outdated easily when a function is renamed.
This one was copied from another function and not changed accordingly.
Such comment blocks also occupy space which could be used for relevant
information and code.
Only a limited number of lines fit in one editor window.

Juha


More information about the Lazarus mailing list