Coding

General coding principles plus per-language pages. Start with general-principles and then drill into the language you are working in.

Pages

  • general-principles: Naming, comments, errors, dependencies, testing.
  • python: Modern Python: types, ruff, pytest, async.
  • typescript: Strict TypeScript, narrow types, runtime validation.
  • swift: Swift 6 concurrency and idiomatic API design.
  • pine-script: Pine v5 for TradingView indicators and strategies.
  • shell: Bash with set -euo pipefail, quoting, shellcheck.