Hacker News new | ask | show | jobs
by ipnon 323 days ago
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."

1 comments

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