Hacker News new | ask | show | jobs
by nosefurhairdo 893 days ago
The strategy design pattern would be suitable for this.