top | item 37518604 (no title) pechay | 2 years ago I don't like the side effects of the second addToppings. I'd much preferpizza.Toppings = getToppings(kind string) discuss order hn newest mrkeen|2 years ago > pizza.Toppings = getToppings(kind string)That's a side effect. pechay|2 years ago pizza isn't, and can't be, opaquely modified by the topping adder this way.
mrkeen|2 years ago > pizza.Toppings = getToppings(kind string)That's a side effect. pechay|2 years ago pizza isn't, and can't be, opaquely modified by the topping adder this way.
mrkeen|2 years ago
That's a side effect.
pechay|2 years ago