[pmwiki-users] Proposed change to pmwiki.php: Markup_e
John Rankin
john.rankin at affinity.co.nz
Fri Feb 7 13:38:44 CST 2014
> If brevity over clarity is the goal, why not just code everything in APL?
>
> http://signalvnoise.com/posts/3250-clarity-over-brevity-in-variable-and-method-names
>
> As one commenter put it:
>
> A program IS NOT communication between a human and the machine.
>>
>> It's a communication between a developer and the next developer.
>>
Exactly right.
In this particular case, I would be writing
Markup_e( ... , 'return');
many, many times. My inclination would be for pmwiki to provide 'return'
and I would include a comment:
# Markup_e( ... , $r); means "return the replacement code"
$r = 'return';
Then write:
Markup_e( ... , $r);
JR
--
John Rankin
More information about the pmwiki-users
mailing list