Hacker News new | ask | show | jobs
by mrkeen 1001 days ago
> pizza.Toppings = getToppings(kind string)

That's a side effect.

1 comments

pizza isn't, and can't be, opaquely modified by the topping adder this way.