|
|
|
|
|
by diggan
817 days ago
|
|
> would it be better if there were half as many types but they all had twice as many fields and methods and had to get used for multiple purposes? Reminds me of this quote: > 9. It is better to have 100 functions operate on one data structure than 10 functions on 10 data structures. Written by Alan Perils, shared in "Epigrams in Programming" (1982): https://cpsc.yale.edu/epigrams-programming Maybe I'm lisp-damaged, but I agree with this quote and parent, more functions (not methods) and less data structures tend to be easier to manage when things grow in scope. |
|