Just to clear it up, apart from selected routes, the main reason boarding passes are checked on long haul routes is so they know where to guide you on twin aisle aircraft where door two is commonly used. On an A320 there’s only one way for the passenger to go.
Not checking at the door and having everybody wandering down the wrong aisle would significantly slow the boarding process down.