• lowleveldata
    link
    fedilink
    English
    arrow-up
    4
    ·
    1 year ago

    To wrap up: You should always strife for the least amount of flexibility

    There should be a reasonable amount of flexibility. In the example you can reduce flexibility by having fruitStore.stockLime and fruitStore.stockLemon instead of fruitStore.stockFruit but I think we all agree that it shouldn’t be that inflexible.