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

Duplicate or near-redundant functions are either no problem or even useful. But duplicate or near-redundant data structures are a plague on any codebase.

The prophet Perlis declared: "It is better to have 100 functions operate on one data structure than 10 functions on 10 data structures."



interesting, I didn't know that corollary. sounds about right though.




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

Search: