|
|
|
|
|
by cristiantincu
4857 days ago
|
|
Anonymous methods and closures are not the same thing. You may have anonymous methods that don’t access outside scopes, so they’re not creating any lexical closures. The syntax of anonymous methods is consistent with the overall language syntax. Yes, Pascal has strict types and `begin`… `end` instead of curly braces. It tends to be more verbose than, say, JavaScript. |
|