The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 4,262 other subscribers

SysUtils.pas Why parameters of these anonymous not const? TProc = …

Posted by jpluimers on 2020/06/02

At [WayBack] SysUtils.pas Why parameters of these anonymous not const? TProc = reference to procedure (Arg1: T1; Arg2: T2); TProc = reference … – Jacek Laskowski – Google+, Hallvard Vasbotn made this nail on the head comment:

It could have been solved if the const’ness had been seen as a implementation detail by the compiler (which it really is) and made const and non-const signatures assignment compatible.

It was changes like the above that I had hoped for when writing Source: 15 months later: what happened to Delphi Language Enhancements? « The Wiert Corner – irregular stream of stuff.

Now we are another 27 months later, so this again is a reminder to check what the compiler team (man?) has improved on the language side.

–jeroen

2 Responses to “SysUtils.pas Why parameters of these anonymous not const? TProc = …”

  1. LachlanG said

    How do you find all these Google+ conversations? Did you archive the links at the time or are you searching the Wayback machine?

    • jpluimers said

      My blog queue is full until about the end of 2021 (which is great, as now I have #ChemoLife).

      I do have a saved archive from G+ generated from one of the saving tools. When cancer treatment is over and I have enough energy, I plan to contact Lars Fosdal to see if I can get that on-line somehow.

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.