hardware mounted gates or pressure mounted baby safety gates, which are better?

How to choose these?