rfc:callable
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revisionNext revisionBoth sides next revision | ||
rfc:callable [2011/06/07 13:53] – created bjori | rfc:callable [2011/06/16 00:11] – [Previous discussions] stas | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Request for Comments: | + | ====== Request for Comments: |
* Version: 1.0 | * Version: 1.0 | ||
* Date: 2011-06-07 | * Date: 2011-06-07 | ||
Line 12: | Line 12: | ||
Frameworks have started to adopt Closures for callbacks, utilizing the ' | Frameworks have started to adopt Closures for callbacks, utilizing the ' | ||
That has an unfortunate sideeffect of requiring already-existing-methods to be wrapped into a closure calling that method. | That has an unfortunate sideeffect of requiring already-existing-methods to be wrapped into a closure calling that method. | ||
+ | Additionally, | ||
===== The solution ===== | ===== The solution ===== | ||
Line 33: | Line 34: | ||
* The only arguments against the idea came from Stas, [[http:// | * The only arguments against the idea came from Stas, [[http:// | ||
- | * ' | + | * ' |
- | * A " | + | * A " |
- | * Everyone else seem to like the idea. | + | * Everyone else seem to like the idea, so far. |
* As for the patch itself, Felipe pointed out that the patch is missing an method in ext/ | * As for the patch itself, Felipe pointed out that the patch is missing an method in ext/ | ||
+ | * Things to finalize: | ||
+ | * Type name: documentation uses ' | ||
+ | * Are initializers allowed? | ||
+ | * Does validation include visibility, as is_callable() does? | ||
+ | * Reflection support | ||
+ | * Arginfo support | ||
rfc/callable.txt · Last modified: 2017/09/22 13:28 by 127.0.0.1