Classroom learning puts you on a schedule and keeps you on track for the goals of the class. Compare that to learning through tutorials online or just buying a book... you could easily find yourself losing focus to more immediate needs. It's very easy to put the book down or walk away from the computer, but a demanding class with a schedule & projects sort of makes you learn the material rather quickly.