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

> For me, it's consistency above all else.

Entirely this. I have a preferred style when I'm writing my own code. When I'm writing code for someone else, though, I will roll with whatever the house style is[1].

I just want consistency and predictability. Once I know the naming scheme, I should be able to take a really good guess as to what any given function or variable name is by knowing what they do, and vice versa.

[1] I consider it a red flag if a company doesn't have an established house style. It matters not what the style consists of, only that it exists and is mostly adhered to.



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

Search: