this post was submitted on 13 Jul 2026
20 points (100.0% liked)

JavaScript

2753 readers
3 users here now

founded 3 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] towerful@programming.dev 3 points 2 days ago* (last edited 2 days ago)

I always treat things like projectStatus and userEmail as a kind of code smell.
If a variable name carries too much context, then I figure out why and how to carry that context in a better way (project.status user.email)

Isn't always doable. But that's why it's a smell, not a rule