I use backticking in the discourse editor.
Let’s see if it works in email:
Sample code
Thanks for clarification on metaprogramming. To further clarify, the type variable needs to be filled in with a type expression when an actual type is being instantiated.