Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
cperciva
on April 6, 2010
|
parent
|
context
|
favorite
| on:
The world's two worst variable names
I generally go with
buf
for a buffer containing unstructured data. It seems a bit more logical, although I'm not really sure why.
khafra
on April 6, 2010
[–]
It's more informative. "buf" gives you a few more bits of information about the source and purpose of the data than "data" does.
Consider applying for YC's Spring batch! Applications are open till Feb 11.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: