Hacker News new | ask | show | jobs
by settsu 493 days ago
The #1 rule in my home is "Be kind" (not to be confused with "be nice".)

The #1 rule I try to abide by when coding is "Be empathetic" (to others and my future self.)

In practice, this means things like valuing clarity over cleverness (unless I can manage to be both!) and documenting unless I can really justify not (i.e., is it realistically "self-documenting"), but of course also extends to empathy for the user—I'm a front-end dev so much of my work is UI.

You may read this and think "duh" but trust me when I say that in the 20+ years of doing this professionally, those are very clearly not obvious guidelines (even for myself.)