Recent

Author Topic: Any plans for anonymous functions feature?  (Read 1029 times)

Alextp

  • Hero Member
  • *****
  • Posts: 1053
    • UVviewsoft
Any plans for anonymous functions feature?
« on: July 12, 2019, 01:22:07 pm »
Mate of mine told me that FPC (trunk) has not complete anon-functions support. Like Delphi 10 does. Anon-funcs are not 100% implemented. Only on Mac they are. When it will be implemented?
« Last Edit: July 12, 2019, 01:23:47 pm by Alextp »

skalogryz

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2497
    • havefunsoft.com
Re: Any plans for anonymous functions feature?
« Reply #1 on: July 12, 2019, 02:57:06 pm »
Anon-funcs are not 100% implemented. Only on Mac they are.
On Mac, they're not an arbitrary anonymous functions. They're blocks. Which is a special Apple feature for C-languages family and is following its own implementation requirements.
Patron Cocoa Widgetset development https://www.patreon.com/skalogryz

Thaddy

  • Hero Member
  • *****
  • Posts: 10294
Re: Any plans for anonymous functions feature?
« Reply #2 on: July 12, 2019, 03:51:55 pm »
I think there is a branch for anonymous functions, but its progress is slow.
IOW it is being worked on.
I am more like donkey than shrek

marcov

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 8612
  • FPC developer.
Re: Any plans for anonymous functions feature?
« Reply #3 on: July 12, 2019, 03:53:14 pm »
And therefore it will not be in the next FPC 3.2.x series.

So before it hits production will be multiple years.

skalogryz

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2497
    • havefunsoft.com
Re: Any plans for anonymous functions feature?
« Reply #4 on: July 12, 2019, 05:12:18 pm »
Come to think of it though, isn't it against the license of FPC for Scooter Software to use a modified FPC in production code without making the source available?
No. They don't distribute FPC itself. They only distribute its product.
GPL requires the sources availability only if the GPL-ed software is distributed.

(Note, that currently its taking its own toll on their development. As they've to (manually) keep up with FPC updates. It would be so much easier, if FPC was using git. So much easier to use and NOT to share. Must switch to git, asap!)
« Last Edit: July 12, 2019, 05:16:47 pm by skalogryz »
Patron Cocoa Widgetset development https://www.patreon.com/skalogryz

skalogryz

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2497
    • havefunsoft.com
Re: Any plans for anonymous functions feature?
« Reply #5 on: July 12, 2019, 05:16:01 pm »
Ah, that's right. Still not sure why they don't, though...
Why should they bother? Simply placing a download link on a site, is already an expensive thing.
One has to pay a webmaster money to update the site... and then maintain it.
Patron Cocoa Widgetset development https://www.patreon.com/skalogryz

skalogryz

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2497
    • havefunsoft.com
Re: Any plans for anonymous functions feature?
« Reply #6 on: July 12, 2019, 05:36:38 pm »
There's an existing Github mirror of FPC that's automatically updated constantly, at least.
Oh, great! I hope they're using it! makes the work of these great people much easier.
Patron Cocoa Widgetset development https://www.patreon.com/skalogryz

k1ng

  • New Member
  • *
  • Posts: 37
Re: Any plans for anonymous functions feature?
« Reply #7 on: July 12, 2019, 06:00:50 pm »
Maybe check/help and ask in the mailing list here and here;D
There is also a bug report with some stuff.

jamie

  • Hero Member
  • *****
  • Posts: 3277
Re: Any plans for anonymous functions feature?
« Reply #8 on: July 13, 2019, 12:44:13 am »
Look John, I am still waiting for my Anonymous record enclosures..!!1

Its a long line my friend!

73's
The only true wisdom is knowing you know nothing

jamie

  • Hero Member
  • *****
  • Posts: 3277
Re: Any plans for anonymous functions feature?
« Reply #9 on: July 17, 2019, 11:37:28 pm »
Hope your legs aren't getting tired from waiting! :D
The only true wisdom is knowing you know nothing

 

TinyPortal © 2005-2018