The answer to 'which is better P-trap or' is that a P-trap is generally considered the better choice for most residential plumbing applications. A P-trap is a U-shaped pipe that creates a water seal to prevent sewer gases from entering the home, while also catching debris that could clog the drain. P-traps are more effective and reliable than alternative options like an S-trap or drum trap.
P-traps are the standard in new construction and are required by most plumbing codes. They are easy to install, inexpensive, and provide reliable odor and pest control for sinks, showers, and other drains. P-traps also allow for easier access and maintenance compared to other trap designs.