\texttt{foo} vs \verb#foo#

The LaTeX commands \texttt and \verb are very similar, but not the same:

I tend to prefer \verb, as I never want monospaced text to be broken over a line.