to find out how to do or understand something by facing a lot of problems or challenges
I learned the hard way that rushing my work led to more mistakes.
我通过面临很多问题才明白,匆忙工作会导致更多错误。