Their comment asked for an alternative.
He wanted an alternative method to achieve X, not abandon X and do Y.