For a short-haul flight where you are only taking hand luggage, checking in online saves a lot of time and is therefore much better than checking in at the airport. If, on the other hand, you have to check in bulky luggage, it is better to use the classic check-in at the airport for security reasons.