Tagged articles

SRP

5 articles · Page 1 of 1
21CTO
21CTO
Sep 9, 2026 · Backend Development

PHP 8's Syntactic Sugar Hides Architectural Costs

This article examines how PHP 8 features like constructor property promotion and short arrow functions can mask God objects and cause memory leaks, arguing that developers must replace lost friction with static analysis and architecture enforcement tools.

DeptracGod objectsMemory Leaks
0 likes · 9 min read
PHP 8's Syntactic Sugar Hides Architectural Costs
samdeepthink
samdeepthink
Aug 28, 2026 · Fundamentals

How Java’s LocalDate Embodies the Single Responsibility Principle

The article explains how JDK 17’s java.time.LocalDate follows the Single Responsibility Principle by separating date data from formatting, contrasts this design with the older mutable java.util.Date, and shows how to spot classes that take on too many responsibilities.

API DesignDateTimeFormatterImmutable Objects
0 likes · 6 min read
How Java’s LocalDate Embodies the Single Responsibility Principle