[fpc-pascal] methods of an object to create others objects

Reimar Grabowski reimgrab at web.de
Wed Jul 7 00:51:14 CEST 2010


On Tue, 6 Jul 2010 17:14:38 -0300
Marcos Douglas <md at delfire.net> wrote:

> Well... I think use a name as CreateSpecialTMyObjectInstance() is very
> especific... but, as you said, in the end it is all about personal
> style.
Perhaps I have not made myself clear.
example (makes not much sense; just to explain my naming style):
var Line1, Line2: TMyLine;
...
Line2 := Line1.CreateDottedRedLine();

R.
-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?



More information about the fpc-pascal mailing list