Optimal organization of database queries – a class per access | Hacker News Reader