[fpc-devel] Thoughts on being able to declare "pointer-to-type" parameters directly in method signatures?
Ben Grasset
operator97 at gmail.com
Mon Jun 10 04:02:40 CEST 2019
On Sun, Jun 9, 2019 at 9:19 PM Dmitry Boyarintsev <skalogryz.lists at gmail.com>
wrote:
> Ah... I found it now. It's all about generics. Well, there's nothing I
> can argue about here.
>
Well, not *really.* As I stated in the original message, it's just as
useful for non-generic procedures or non-generic anything else.
On Sun, Jun 9, 2019 at 9:19 PM Dmitry Boyarintsev <skalogryz.lists at gmail.com>
wrote:
> Maybe just to point out that usage of "var" and "const" might have been a
> more appropriate option, in the example.
>
I had been under the impression that it was *exceedingly* obvious what the
benefits of this sort of thing were.
Apparently I was wrong! I did use "var" and "const" examples in a later
message though (not that I think that really should have been necessary as
an explanation, again.)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20190609/da6198dc/attachment.html>
More information about the fpc-devel
mailing list