Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Different printer models could have different features (color/B&W, selecting output tray, “print” an outgoing fax, etc.), and you could make each PrinterDriver subclass responsible for generating the appropriate UI code for frobbing those features.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: