I recently went back and forth between a G19 and a P228 and finally settled on a G23. Go figure. I prefer the G19/G23 over a P228 because:
1. Glocks are accurate, the P228 was just a tad more accurate at longer ranges (25 yards).
2. Glocks are a lot lighter, it weighs 23.45 ozs compared to 29.1 ozs on a P228. 5.65 ozs may not seem like a lot, but if you carry (licensed CCW or LEO), you feel it after just an hour. The less weight the better.
3. Glock's polymer frame absorbs the recoil and doesn't transmit it to the hand like the P228's aluminum frame. I used to dislike the polymer frame, but I've grown to appreciate it while firing full house .40 loads out of a G23. On a G19 it makes recoil negligible.
4. Trigger. Yes, the trigger I used to bash it a plus on a G19. You don't have to worry about DA/SA transition, about a long first shot, about decocking to make safe, you get the same pull always on a Glock.
5. Corrosion resistance is unmatched on a Glock. P228s won't rust before your eyes, but they do require care. If you live in a very hot, humid and wet climate you come to appreciate the ease of care of a Glock.
6. Simplicity of mechanism on a Glock is also without peer. All you need it a quality punch and patience to take apart a Glock. Once you do it it only gets easier. I shudder to think about fully taking apart a P228.
7. Rounded edges on a Glock make for comfortable carry. The P228s have some sharp edges, especially around the muzzle and the hammer. The hammer can cut into flesh, especially if you're on the heavy side.
Fire them side by side and see what works for you. After a long time of being a SIG Sauer stalwart I made the move to a G23 for the reasons stated. What works for me may or not work for you.
------------------
"Get yourself a Lorcin and lose that nickel plated sissy pistol."