I'm not sure whether backquotes in titles are supposed to work, or whether they don't currently work, or whether they shouldn't be used. See this question for an example. I know that the math stuff does work, but what about backquotes?
Update
I would really like to turn this into a feature request. It's been over 2 years now and I just don't go along with the arguments of @Shog9 or that of Jeff Atwood in this answer.
The question remains: Why is MathJax supported in titles, and a simple code environment not? We are mainly a programming site and yes, we deal with a lot of function names in titles. MathJax could in the worst case be misused to create a typewriter
effect for indicating code and this is surely not intended.
For me, the argumentation for dismissing this feature is very strange, compared to how much it would add to the readability: