This is a card in Dave's Virtual Box of Cards.

Descriptive naming

Created: 2022-03-03

Naming things is hard. This is often described as one of the "three hard problems in programming".

A great name immediately and clearly tells you what it’s describing. But a great name is often really, really hard to come up with.

I’ve seen some really good ones, but have never documented them. I’ll try to start doing that.

tmux: split "left/right" instead of "horizontal"

The manpage for the tmux program describes the screen splitting options as "left/right" and "top/bottom". This is brilliant naming because I know immediately what I’m going to get.

Every other tool calls these splits "horizontal" and "vertical", which means nothing to me because I don’t know if it describes the placement of the panes or the line that divides them.