3 ms·
I wonder if modularization is not a form of parametrization.
by agumonkey 3y ago
I wonder if modularization is not a form of parametrization.
- zogrodea 3y agoI think it is, at least in some cases. I've found that Elm/React are like this with dynamic elements. First, you code the component you want with hardcoded styles and data. Then, you extract that to a function. Finally, you pull out the harcoded styles and data into parameters for that functoin. Now you have a reusable component.