rfc:shortsyntaxforfunctions

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
rfc:shortsyntaxforfunctions [2011/06/01 15:07]
tony2001 [Introduction]
rfc:shortsyntaxforfunctions [2017/09/22 13:28] (current)
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,​ $some_more)
 +{
 + ​--here_be_dragons--
 +}
 +</​code>​
 +
 +New short non-ugly easily readable example code:
 +
 +<code php>
 +. .[., .].
 +.
 + ​--...._.._......--
 +.
 +</​code>​
 ===== 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://​github.com/​andreiz/​prep/​tree/​master/​examples/​whitespace 
  
 ===== Changelog ===== ===== Changelog =====
rfc/shortsyntaxforfunctions.1306940827.txt.gz · Last modified: 2017/09/22 13:28 (external edit)