well first of all you need to compare apples to apples. a g23 is chambered for .40 S&W. a 1911 may be chambered for 9mm, .40, .45 or others. with an equal caliber, i think you will find a 1911 format to be more ergonomic (combo of thinner and beavertail let you get a great grip) and also heavier than the same caliber in a glock. both these will give you less felt recoil in a 1911 over a glock. but the glock has a bigger grip because of the increased magazine capacity. so it's a trade off and you have to figure out what you want more.
all that said, the g23 is a great gun and a perfect size for carry. the 'baby' glocks are too small for me to manipulate the controls easy, plus everyone adds a pearce grip extension to them, and by the time you've done that, they're pretty close in size to the 23 anyways. if you're not gonna carry, you should consider their full size guns, so the 22 in .40.
but, don't take anyone's word for it, grip and ergos and the like are personal choices, so find a range that rents what you're interested in, and rent them and shoot them and decide for yourself.