PHP 8.2 Readonly Classes: Immutable Value Objects (and 3 Gotchas)
readonly class landed in PHP 8…
Notes, tutorials, and post-mortems on the things I build and break. Published irregularly, edited obsessively.
readonly class landed in PHP 8…
React 19.2's useEffectEvent le…
with statements are one of Pyt…
ES2025 iterator helpers turn e…
PHP 8.4 adds array_find(), arr…
If you have written a custom f…
React state is great for value…
The problem: one blocking call…
The problem you keep re-solvin…
PHP 8.4 Property Hooks: Get &#…
When a state update triggers h…
The problem: threading.local l…
The problem When you render a …
Stop Loading Everything Into M…
Most React developers meet key…
Why cache at all? Every time y…
The bug you keep shipping Arra…
Replace scattered magic string…
Why reactive() Can Quietly Slo…
Stop Stuck Requests and Leaked…
The if/elif isinstance mess yo…
React’s setState Doesn&#…
PHP 8.1 lets you write strlen(…
ref() deep-proxies every neste…
Python refuses a `list` defaul…
The Setup: the “default …
The one-line trap In PHP, == d…
The Symptom You wrapped an exp…
Array.prototype.sort() looks h…
@contextmanager lets you build…
You wire up a watcher, mutate …
readonly blocks reassignment, …
When a state update triggers h…
Counter overloads +,-,&,| — bu…
Before PHP 8.4, if you wanted …
Practical PHP patterns for typ…
The manual way (and why it bre…
The smell everyone writes You …
A very common React mistake is…
The trap: DateTime edits itsel…
itertools.groupby is fast and …
The Surprise Run this snippet …
A practical Python regex cheat…
Testing React syntax highlight…
A public end-to-end test of pu…
A 2 GB CSV will kill a PHP wor…
A counter with setInterval ins…
If a function does the same ex…
The surprising bug You have a …
PHP 8.1 enums give you type-sa…
The problem with raw status st…
The trap everyone hits once Yo…
Why this matters Backend servi…
PHP 8 attributes let you attac…
Beyond simple equality: destru…
React 18 intentionally double-…
Most relational databases stor…
If your database queries are s…
A practical introduction to th…