I will give you the difference between then you can understand why it is
better
OSPF (Open Shortest Path First) it's link state protocol which sending hello
packet to it's neighbours
give best path 6 backup path
it a supports the subnating (classless)
administrative distance 110
using wildcard 0.0.0.0
autonomous 1-65535
using area
Hybrid protocol
eigrp enhance interior gateway protocol
90 administrative distance
supporting subnating
using area
autonomous 1-65535
using area
Key capabilities that distinguish Enhanced IGRP (EIGRP) from other routing
protocols include fast convergence support for variable-length subnet mask
support for partial updates and support for multiple network layer protocols.
Router running EIGRP stores all its neighbors' routing tables so that it can
quickly adapt to alternate routes. If no appropriate route exists EIGRP queries
its neighbors to discover an alternate route. These queries propagate until an
alternate route is found.
The support of EIGRP for variable-length subnet masks permits routes to be
automatically summarized on a network number boundary. In addition EIGRP can be
configured to summarize on any bit boundary at any interface.
In most cases EIGRP only uses Delay and Bandwidth with Bandwidth taking
precedence. The metric for EIGRP is calculated by multiplying the IGRP metric by
256. So the formula used to calculate the metric is:
EIGRP Metric 256*((K1*Bw) + (K2*Bw)/(256-Load) +
(K3*Delay)*(K5/(Reliability + K4)))