^^^This exactly.Character development. Shows sign she's growing. She knew her chances were slim to even survive, but she chose to risk herself as a diversion knowing Naruto and Sasuke had the real power to attack Madara, while he was busy focusing on her.
Sakura can't win. She does nothing and is bashed, she does something and she is bashed. I'm still laughing at how I knew she would charge Madara and I wasn't even trying to predict. It's just something I would do myself.^^^This exactly.
I don't know why everyone is bashing her.....she did well given that Madara is several times stronger than her but still she had enough courage to charge towards him. Had she done nothing everyone would still be bashing.
Also it is good that she didn't damage Madara with that Kage level jutsu, otherwise the whole Base would be screaming A**pull A**pull. People are hypocrite. U_U