The early years are a challenge, no matter what techniques you employ, because there is a long, slow learning period in which children are often frustrated by their parents' rules, expectations and schedules. Rather than "correct" babies and toddlers, distraction, redirection, anticipating problem situations and avoiding them whenever possible, are all good strategies. (Relaxing an overly-demanding schedule, or checking your expectations to be sure they are realistic, can help, too.)
Discipline is a sensitive area, and parents are often in the uncomfortable position of defending their own beliefs against all the parents who practice some other approach. I'm very much in favor of evidence-based techniques, and that means taking both the positives and negatives into account (even the best techniques have possible negatives). In addition to my own daughter and grandson, I've known dozens of families with young children, and those who practice compassionate parenting with empathetic communication and clear expectations have always ended up with great kids. Time-outs seldom enter into the picture.
Time-outs reportedly work much better for some children than others. But many parents and behavioral experts believe that they work best as a calming technique, not a punishment. If they become a long, drawn-out battle, the original purpose has been completely lost on the child, and the dynamic becomes win/lose.
My personal ideal is to win the child over to my team and my goals, not to defeat his team or trash his goals. That is the beginning of an adversarial relationship, and the parent can only keep winning until the child becomes too strong, or too willful, or too devious. I've seen way too many of those families suffer tremendously as those children become independent, which nearly all children do, eventually.