Applying the open/closed principle in R | Hacker News Reader