Typing & Data Structures
- Use Static Typing: Prefer TypeScript, PHP 8+ types, Python type hints, Swift, Kotlin, Dart, C#. This significantly improves AI accuracy and code reliability.
- Define DTOs/Interfaces/Models: Clearly define data structures for API requests/responses, function parameters/return values, and UI state.
