Most programming languages have Coding styles. Some have defined standards, other have just some code of conduct that the majority of programmers follow.
Standard coding styles are have obvious benefits, in gis.stackexchange itself, it would help people better understand both questions and answers.
From some "googling", there are some reference to Coding Styles for SQL, although they are not consensual:
- https://stackoverflow.com/questions/118288/sql-coding-style-guide
- https://stackoverflow.com/questions/522356/what-sql-coding-standard-do-you-follow
- http://www.simple-talk.com/sql/t-sql-programming/sql-code-layout-and-beautification/
While this SQL coding styles can be used for Postgis, my question is if there is a Postgis\SQL coding style to handle its functions, or at least some common practices.