Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> pizza.Toppings = getToppings(kind string)

That's a side effect.



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




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: