rfc:shortsyntaxforfunctions
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
rfc:shortsyntaxforfunctions [2011/06/01 15:07] – [Introduction] tony2001 | rfc:shortsyntaxforfunctions [2011/06/01 16:20] – [Proposal and Patch] tony2001 | ||
---|---|---|---|
Line 20: | Line 20: | ||
I'd personally propose to use dashes and dots for everything of the above. It's short and you can read it really fast. | I'd personally propose to use dashes and dots for everything of the above. It's short and you can read it really fast. | ||
+ | |||
+ | Example code: | ||
+ | |||
+ | <code php> | ||
+ | function some_long_function_name($array_parameter_omg, | ||
+ | { | ||
+ | | ||
+ | } | ||
+ | </ | ||
+ | |||
+ | New short non-ugly easily readable example code: | ||
+ | |||
+ | <code php> | ||
+ | . .[., .]. | ||
+ | . | ||
+ | | ||
+ | . | ||
+ | </ | ||
===== Proposal and Patch ===== | ===== Proposal and Patch ===== | ||
No patch is available yet. I'm working on it, though. | No patch is available yet. I'm working on it, though. | ||
- | |||
- | This functionality is already available with Prep: https:// | ||
===== Changelog ===== | ===== Changelog ===== |
rfc/shortsyntaxforfunctions.txt · Last modified: 2017/09/22 13:28 by 127.0.0.1