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

> b->nc += m; > q0 += m; > s += m; > n -= m;

Why do people who write in C so often make it look like they have a shortage of letters to use for names?



They had a math/science background, so they wrote things like

  F = m * a
rather than

  ADD STATE-SALES-TAX TO STATE-TAXABLE-SUBTOTAL GIVING SUBTOTAL-INCLUDING-STATE-SALES-TAX
or

   activityLoggingAccessForIsolatedWorldsPerWorldBindingsLongAttributeAttributeSetterCallbackForMainWorld();


It was written in the 80s when there was a shortage of letters.


A little anecdote: When I first learned programming I didn't know you could have long variable names. When I later found out you could, it felt like cheating.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: