There's no perfect age to have kids, it depends on the person and it depends on the circumstances.
I had my first at 21, my second at 23, my third at 25 and my fourth at 29.
Of all of those, the first and last were the most inconvenient. But that's personal circumstance, nothing to do with how old I was.