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

Sure, it's a simple example. How about:

    destPoint.x + offset.x * diameter
vs

    destPoint.x + (offset.x * diameter)
The longer the variable names the harder it is to visually parse the order of operations. At least for my brain.

This whole thread is arguing about style, IMO. I'm just offering my explanation why this style makes more sense to me.



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

Search: