As stated before, the hydraulic is typically better for most applications.
Electrics are normally used where hydraulics are not available.