Skip to content

Instantly share code, notes, and snippets.

View bhrionn's full-sized avatar
🏠
Codex CLI - building 👀

Brian Byrne bhrionn

🏠
Codex CLI - building 👀
View GitHub Profile
@bhrionn
bhrionn / README.md
Created October 2, 2025 07:38
Typescript best practices

🔹 Single Responsibility Principle (SRP)

UserValidator: Only handles validation logic PasswordService: Only manages password operations UserRepository: Only handles data persistence Each class has a single, well-defined purpose

🔹 Open/Closed Principle (OCP)

BaseNotificationService: Abstract class open for extension