2016-06-21 12:14 GMT+02:00 Marco van de Voort :
> In our previous episode, Michalis Kamburelis said:
>>
>> - A section about TPersistent.Assign. This is the "basic approach to
>> cloning" that should probably be shown first. See it here:
>> http://michalis.ii.uni.wroc.pl/~michalis/modern_pascal_int
In our previous episode, Michalis Kamburelis said:
>
> - A section about TPersistent.Assign. This is the "basic approach to
> cloning" that should probably be shown first. See it here:
> http://michalis.ii.uni.wroc.pl/~michalis/modern_pascal_introduction/modern_pascal_introduction.html#_cloning_tp
> |I remember someone once asked whether we should override the method Assign
> or AssignTo.|
> |I am worried, choosing the wrong method to override will produce unexpected
> result.|
The AssignTo is only used by TPersistent.Assign, so it's a "fallback"
--- if class A cannot copy *from* B, then As
2) use of ClassType function for cloning objects
I added two things:
- A section about TPersistent.Assign. This is the "basic approach to
cloning" that should probably be shown first. See it here:
http://michalis.ii.uni.wroc.pl/~michalis/modern_pascal_introduction/modern_pascal_introduction.ht
2016-06-20 14:30 GMT+02:00 Marcos Douglas :
> Don't agree with "Ugly (COM) interfaces". Yeah, _AddRef, _Release,
> QueryInterface is ugly implementation but reference-counting mechanism
> is nice.
>
Reference-counting is a useful concept, but "entangling" it with
interfaces is somewhat ugly IMHO.
2016-06-20 11:44 GMT+02:00 Mark Morgan Lloyd
:
[...]
> I'd suggest warning readers early about "dangling else", and using otherwise
> rather than else in the case examples.
As for dangling else - good idea, I added a text and example
mentioning it briefly at the of
http://michalis.ii.uni.wroc.
2016-06-20 6:16 GMT+02:00 Dennis Poon :
> May I suggest the addition of :
> 1) user defined operator?
Added. I had it on my TODO list already:) See it here:
http://michalis.ii.uni.wroc.pl/~michalis/modern_pascal_introduction/modern_pascal_introduction.html#_operator_overloading
.
I documented als
On Sun, Jun 19, 2016 at 3:26 AM, Michalis Kamburelis
wrote:
>
> Hi,
>
> So, I wrote a document describing (quickly!) many features of the
> modern Object Pascal:)
>
> Read on:
>
> http://michalis.ii.uni.wroc.pl/~michalis/modern_pascal_introduction/modern_pascal_introduction.html
>
> http://michali
Am 20.06.2016 11:56 schrieb "Mark Morgan Lloyd" <
markmll.fpc-pas...@telemetry.co.uk>:
> There's a few places where a native English author would have done things
a bit differently. For example, in most places "Castle Game Engine" would
probably be prefixed by "the", and also "it allows [something,
Michalis Kamburelis wrote:
Hi,
So, I wrote a document describing (quickly!) many features of the
modern Object Pascal:)
Read on:
http://michalis.ii.uni.wroc.pl/~michalis/modern_pascal_introduction/modern_pascal_introduction.html
http://michalis.ii.uni.wroc.pl/~michalis/modern_pascal_introduct
May I suggest the addition of :
1) user defined operator?
2) use of ClassType function for cloning objects
Dennis
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Michalis Kamburelis wrote:
Hi,
So, I wrote a document describing (quickly!) many features of the
modern Object Pascal:)
Read on:
http://michalis.ii.uni.wroc.pl/~michalis/modern_pascal_introduction/modern_pascal_introduction.html
http://michalis.ii.uni.wroc.pl/~michalis/modern_pascal_introdu
Thank you Michalis,
I really appreciated your work.
Well done!
Sandro Cumerlato
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Hi,
So, I wrote a document describing (quickly!) many features of the
modern Object Pascal:)
Read on:
http://michalis.ii.uni.wroc.pl/~michalis/modern_pascal_introduction/modern_pascal_introduction.html
http://michalis.ii.uni.wroc.pl/~michalis/modern_pascal_introduction/modern_pascal_introductio
14 matches
Mail list logo