Skip to content

Instantly share code, notes, and snippets.

@Junhan2
Junhan2 / frontend-guidelines.md
Last active September 21, 2025 15:47
frontend-guidelines.md

Frontend Development Guidelines

These guidelines help create frontend code that is easy to change by following four key criteria: Readability, Predictability, Cohesion, and Coupling.

Core Philosophy

Easy-to-change code means:

  • New requirements can be implemented by modifying existing code smoothly
  • Code intent and behavior are clear and understandable
  • The scope of impact from changes is predictable