That is really a matter of opinion.
Going for the pure mechanically maximized benifits is not a very fun way to play.
It's the flaws that make characters fun.
As for classes though, only a cleric or higher level paladin can become an Undead Slayer, as the prime requisite is being able to turn undead, but there is much variety to be had even in that space.