Exactly. Derek Sivers gives some good examples for programming in this essay[1], e.g. overcoming a common mistake, cool trick or suprising feature of a language. These are obviously useful things to have immediately when you need them. I think the article lists some bad examples (not worth committing to memory) for programming to be honest.
[1] https://sivers.org/srs