Photography and code
Both photography and programming are about making decisions within constraints. In photography, you choose what to include in the frame and what to leave out. In code, you choose what to abstract and what to keep explicit.
The best photos and the best code share a quality: they feel inevitable, like there was no other way they could have been made.