You can choose how many times you need to revisit the learning materials. Learning help is as near as your computer or your telephone. You can be more anonymous in class. Perhaps more freely express your opinions.
Pajamas are optional.
If you have a laptop computer, you never have to leave the bed to go to school. Cons of learning on line. You have to have the self-discipline to do your course work regularly and on time. You have to be a self-starter. You have to be able to take the initiative to call the instructor when you have a problem.