Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
danielhunt
on March 25, 2012
|
parent
|
context
|
favorite
| on:
PHP-Snow - A concise, dry and beautiful language t...
I'm not sure I understand your comment - the function name in this case is "render_row()", and "pri" refers to the visibility of the function.
I don't feel that it's more readable, or even easier to write, as "pri", though.
badboy
on March 25, 2012
[–]
pri
is used first for the constructor (right after
class SumTable
) but not followed by any name. I find it quite hard to read this way.
danielhunt
on March 25, 2012
|
parent
[–]
Ah - I missed that entirely, thanks for pointing it out again. That line may just win the prize for least-clear line in the Snow example.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
I don't feel that it's more readable, or even easier to write, as "pri", though.