Hard to say what's better, it depends on you, the baby and your circumstances at home, aswell as how you feel being in hospital.
With my first he was born just after midnight, and I left by noon the same day. He wasn't feeding great, but my sister is a midwife so I think they were happy for her to help me.
With 2nd 18 months later he was born just before 9am, we were ready to go home fairly soon after but he had a hydrocele (enlarged testicle), which had the paediatrician and midwives debating whether I could go. We were home by 5pm, which gave us all day just the 3 of us, before being able to go home and let eldest meet little brother.
On both occasions the 8-12 hours seemed sufficient, although if breastfeeding is really important to you I'd personally advise staying in hospital until you feel comfortable that it's established. I was lucky to have my sister, but in truth I was let out of hospital without him feeding properly, so without the support at home I'd probably have resorted to the bottle by the evening. This to me is the biggest reason or advantage to staying. Don't be afraid to ask for longer, even if you feel pressured to leaving