PascalABC.NET: Difference between revisions

Content deleted Content added
OAbot (talk | contribs)
m Open access bot: doi updated in citation with #oabot.
Rescuing 1 sources and tagging 0 as dead.) #IABot (v2.0.9.5
 
Line 119:
Print((Cos*f)(2));
</syntaxhighlight>
In the book "How To Program Effectively In Delphi"<ref>{{Cite book |author=Kevin R. Bond |title=How to Program Effectively in Delphi for AS/A Level Computer Science |publisher=Educational Computing Services Ltd |year=2021 |isbn=9780992753603 |chapter=Chapter 44. Anonymous methods}}</ref> and in the corresponding video tutorials,<ref name=":0">{{Cite web |author=Kevin Bond |title=How to Program Effectively in Delphi. Lesson 44. Part 1 |url=https://www.youtube.com/watch?v=RBlg-ItyyTA&t=377s |access-date=2023-04-04 |website=YouTube |date=10 February 2022 |language=en}}</ref><ref>{{Cite web |title=Delphi Boot Camp 2022 - Delphi and functional programming using anonymous methods |url=https://www.youtube.com/watch?v=OmregYuqLU8&t=1640s |access-date=2023-04-04 |website=YouTube | date=28 August 2022 |language=en}}</ref> Dr. Kevin Bond, a programmer and a Computer Science teaching specialist,<ref>{{Cite web|language=en|url=https://www.educational-computing.com/DelphiBook/KRBsBriefBiography.pdf|title=Brief biography Dr Kevin R Bond|website=Educational Computing Services Ltd|access-date=4 April 2023|archive-date=4 April 2023|archive-url=https://web.archive.org/web/20230404131810/https://www.educational-computing.com/DelphiBook/KRBsBriefBiography.pdf|url-status=dead}}</ref> notes that PascalABC.NET has powerful functional programming capabilities which are missing in Delphi. As an example, [[Partial application|partial function application]] is demonstrated:<syntaxhighlight lang="delphi">
begin
var f: integer -> integer -> integer := x -> y -> x + y;