Is mechanical keyboard better for gaming?

Mechanical keyboards are preferred by most gamers because they are more tactile, robust, and speedier. At the same time, some gamers prefer membrane keyboards because of their smaller size, portability, and reduced price.