I don't know that I have a formula. I just try to find a short, memorable title.
I especially try to find a title that feels like it could be a Thing in and of itself; that is, a title that lends itself to being cited in conversation:
There's also the titles that suggest an action or challenge:
That said, I try to avoid cliches and clickbait when possible. There are rare exceptions wherein I'll write a list:
I also like when I come up with a title that feels like a book title:
I don't have any way of tracking click-throughs here on DEV, but if the view counts on my articles are any indicator, these titles are working pretty well.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.