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

Soothing my OCD is important, but it also helps when working in a team and having a shared ordering style. For example, we have certain types of columns that are always at the bottom. One would look there first. With PG you're forced to scan all the columns every time.


This is why I order anything alphabetically, always. Properties, methods, columns… anything. Saves you the trouble of custom conventions.


The trouble is when you need to add a new column you can only add it at the end, so you'd lose the alphabetical ordering.




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

Search: