Looking for tips on replacing Oil pressure sender

Why not just install a mechanical oil pressure gauge???