I think the difficulty with this debate always is that it is always framed as a "lifestyle" choice. However, it's more complex that.
I want a career. I also believe that my children really would be better off in the care of a parent for as much time in the week as possible, regardless of what "research" says. I am not so much interested in academic outcome, but I feel that early childhood is a time for quiet, meandering, non-focused days with little enforcement of an adult agenda outside of what is obviously useful e.g. cleaning/personal hygiene/eating food/sleeping. I find the "learning goals" of early childcare settings difficult, because I don't think early childhood was meant for formal learning. As these are my personal beliefs about rearing MY children, I feel I would be the best person to be with my children during these very brief formative years.
I'm also very aware that the working world ACTS as though there is a second parent at home. Most workplaces are highly intolerant of disruptions such as snow days, illness and all the myriad of activities that a child wants a parent to attend (nativity etc). The world of work ACTS as though there is always back up. We live very far from family and we have no back up. In practical terms, this makes working out of the home for both dh and I quite challenging and it adds a lot of stress to our day. Our children are in childcare from 7.30 to 6pm on the days they are there. I hate this. I think it is far too long for young children to be in formal daycare. I particularly hate that it costs as much as it does (though I don't begrudge those caring for my children their meagre wages).
If I had free choice, I would stay at home until my children were in school or split this equally with dh and then have the same split across the week or for at least half the week so that my children could be picked up, say, three days a week from school. Financially, though we have professional jobs and live in a 2-bed ex-council semi with a jaded old Ford estate and very few luxuries, we still actually need that second income. Not for the day to day stuff, but to enable us to travel to meet family in particular (all across the sea) and to allow for us to work towards moving to a larger house in a few years time.
I just don't see how it's feasible for me/dh to stay at home because I KNOW it would mitigate against either of us getting a job ever again in our chosen field. This would leave us financially vulnerable.
I also find it quite tough how it feels even on maternity leave that you have dropped off the face of the world that anyone seems to give a crap about. I have a lovely time here at home with my two boys but it can be weeks between encounters with other adults, even though I have made a number of good friends. I'm just over the local groups and find them very unsatisfying. It would be worse for dh. Mum and toddler groups seem very much "women's spaces" with lots of talk about birth stories and the like. There is little space for men and in my experience they are not often made to feel welcome at groups they do attend.
As someone upthread said, the irony is that we are in a situation where there is not enough work to go around, where with a bit of flexibility children could be cared for by their family members AND those family members could work and contribute to wider society financially if house prices weren't so stupidly high.
Do I think SAHM are discriminated against? No, but I think there is absolutely NO value put on rearing children as though they weren't the future and how they are treated now may make a difference to how the world develops. It is so difficult to find a balance. Something always gives.