Skip to main content

28 posts tagged with "dev"

View All Tags

Does AI change the best approach to separation of concerns?

· 5 min read

I used to be fairly extreme about separation of concerns in my React code. A smart component file for logic. A dumb component file for rendering. A styled-components file for styles. An index file to tie them together. Four files per component, minimum.

It made each individual file very readable. You could generally fit one on a screen. If you needed to understand the render logic, you opened one file. If you needed the business logic, you opened another. The mental overhead of jumping between co-located files was low.

Tailwind sucks

· 3 min read

I've been doing a lot of vibe coding, and my particular tools of choice include v0.dev (as a Vercelvercel Vercel is a cloud platform for frontend developers. It is used to deploy and host websites and web applications. fanboy). By default, v0 will use tailwind for styling. This means I've been using Tailwind for the first time, and... I hate it.

Maybe I'll send an email once in a while

Monthly digest. No spam.