News for hackers. Stuff that matters.
Re:DRY is an over-rated programming principle? by theK on Thursday July 07, 2022 @07:28AM (#32012630)
Arguably one could say that this is a typing (as in type system) problem

`makePizza :: PizzaType -> [Toping] -> IO (Pizza)`

Seems to carry all that information by just accepting a PizzaType symbol and a list of toppings, `IO` communicating the side effect.

There are no comments on this comment yet.