I tried to solve the following limit by the L'Hôpital Rule: $$ \lim_{x \to \pi/4} \frac{{\tan(x)^{\cot(x)} - \cot(x)^{\tan(x)}}}{x-\pi/4}$$
Taking $L$ to be the said limit, by L'Hôpital Rule,
$$L = \lim_{x \to \pi/4} \tan(x)^{\cot(x)}\ln\tan{x}(-\csc^2x) + {\tan(x)^{\cot(x) - 1}}\cot{x}\sec^2x $$
$$- \cot(x)^{\tan(x)} \ln(\cot x) \sec^2{x} + \cot(x)^{\tan(x)-1}\tan x \csc^2 x$$
$$\Rightarrow L = 4$$
Now, this method is quite involved, as the differentiation of the functions is not very simple. This compels me to think that there could be a better method to solve this question. Any help in that pursuit is appreciated.