Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



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.


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: