Style terms
Consistency, readability, and the rules that make teams sane
Coding style is not about aesthetics — it is about communication. Consistent formatting, naming conventions, linting rules, and documentation standards reduce cognitive load and make code reviews faster and less painful. This category covers the conventions and tooling that help teams write code that reads as if one thoughtful person wrote it all.
Function & Method Naming Convention
PHP functions and methods use camelCase per PSR-1 — lowercase first word, each subsequent word capitalised, verb-noun pairs for actions.
2mo ago
style beginner
Fluent Naming for Boolean Methods
Prefix boolean-returning methods with is, has, can, should, or was so conditionals read as natural English sentences.
2mo ago
style beginner