Comment

Comment by windows_sucks

    make_pepperoni_pizza()
     is bad code compared to
     make_pizza(toppings=[PEPPERONI])
How would you make Hawaiian pizza? I forget, does it include Ham? or just pineapple? you're forced to the remember that nuance in your suggested implementation, but not with "make_hawaiian_pizza()"

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton