[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:13:56 CEST 2019
On Sun, Jun 9, 2019 at 10:00 PM Dmitry Boyarintsev <
skalogryz.lists at gmail.com> wrote:
> Should the flowing code (inside of DoSomething body) be ok as well?
> ((^Integer)(b))^ := a^;
>
I mean, like *many, many, many *things, yes it is technically possible for
that to be valid Pascal syntax. As far as *should*, well, I'm not
personally a fan of that sort of too-many-parentheses typecasting, but I
wouldn't specifically care one way or another if it was added as there's no
reason for me to.
I fail to see how that is anything more than *distantly *related to what
we're discussing in this thread, though.
In general I'm not really interested in playing this sort of FUD-ish *"if
we add X, it's gonna lead down the road to Largely Unrelated Y!" *
back-and-forth game, as I find it both childish and a waste of time as it's
almost always highly unrealistic with regards to whatever is being talked
about.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20190609/5cb30b49/attachment.html>
More information about the fpc-devel
mailing list