Why `eye` has been deprecated?

Why hard-coded f' = adjoint(f) is annoying? Is there any example for this?