ZANE.C

Blogs

Some condensed thoughts around the topics I interested over time.

Code like an Onion: The Decorator Pattern

Jul 2025

by a Developer

pattern

python

An introduction to the Decorator Design Pattern, which helps manage cross-cutting concerns by wrapping your core functionality like an onion🧅.

The CSS Odyssey: Why I Turned back to CSS After Trying Everything Else

Jun 2025

by a Developer

css

frontend

react

A developer's CSS journey: from vanilla to CSS-in-JS to Tailwind and back to CSS, with hard-earned lessons along the way.

5 WTF Moments in Python

May 2025

by a Developer

python

This isn't another Python beginner guide or critique of Python's performance issues. Instead, the blog walks through five surprising behaviors in Python that have bitten me in the past, knowing these might save you hours of debugging.

Single Source of Truth: Cross-Component Styling with React Compound Pattern

Apr 2025

by a Developer

frontend

pattern

react

Cross-component styling is more than often in real world application. The blog explores a context-aware styling solutions in React applications, leveraging the Compound Pattern.

Breaking Down React Components: From Monolithic to Compound Pattern

Apr 2025

by a Developer

frontend

pattern

react

Struggling with monolithic React components? Break it into small pieces and embrace the compound pattern to achieve intuitive composition and unlimited customization.

Conquering Slow Tests: 4 Solutions to Bring Concurrency into Pytest

Feb 2025

by a Developer

asyncio

python

testing

System and integration tests sometimes require substantial execution time. The blog shares my journey of exploring multiple approaches to address the efficiency challenges, culminating in developing a custom pytest plugin.

© 2024-present Zane Chen. All Rights Reserved.