Naming is hard. The language we use shapes the way we think about things, but also the conversation we have about it. That’s why we have so much confusion about colors, icons, UI components, features — and that’s why we struggle to name design tokens, HTML classes, and variables.
Sometimes, the names we choose are too generic, so it’s difficult to understand what exactly is meant. And sometimes they are too specific, leaving little room for flexibility and reuse. How do we choose the right names? And which naming conventions work best? Let’s take a closer look.
How To Name Things
Keep reading
Out of respect for the author only the opening is shown here. Read the rest on the original site, or in HorizonReader with highlights, notes and AI help.
This article is a sponsored by TestMu AI Pass the string "10-03-2024" to new Date(), and the answer is browser-dependent. Chrome, Edge, and Firefox all return 3rd October 2024 with no warning. Safari returns Invalid Date. A user in Berlin w
As the year draws to a close, many of us are busy meeting deadlines, wrapping up projects, or getting ready for the holiday season. So why not take a moment amid the end-of-year hustle to set the mood for December? Our new collection of des
AI is changing how we design and build, and it isn’t slowing down. On December 1, 2026, SmashingConf is hosting the AI 2027 Conference, a live online half day event to take stock of where AI stands today, what we can expect in 2027, and whe
This article is a sponsored by Level Access Lately, I’ve been thinking and writing a lot about what AI is doing to product development, and what that means for accessibility. The thing that has my wheels turning is a finding from Level Acce
A product team at a large health insurer wants to add AI that writes the full written determination for benefits appeals specialists. The technology works as specified. However, the specialists stop using it, and the ones who keep using it