Informixstyle
Informixstyle is a community-driven style guide for IBM Informix development. It codifies conventions for SQL scripts, stored routines, and related database objects to promote readability, consistency, and maintainability within Informix environments.
Informixstyle emerged from practitioner communities aiming to unify coding and documentation practices across teams working with
- Naming conventions: prefer snake_case for identifiers, descriptive names, and consistent prefixes for objects where appropriate; avoid
- Formatting and layout: uppercase SQL keywords, 4-space indentation, and line breaks that clearly separate clauses (for
- SPL and routines: clear naming for procedures and functions, consistent parameter and return conventions, and inline
- Documentation: header comments for objects with author, creation date, and description; inline comments to explain non-obvious
- Version control and review: file-level headers, changelog notes, and peer review as part of the development
);
WHERE created_at > date('2020-01-01')
Informixstyle is typically enforced via code reviews and IDE configurations, with teams developing linters or formatting