by Aaargh20318 · 7mo ago · 0 comments
“A variable should mean one thing, and one thing only. It should not mean one thing in one circumstance, and carry a different value from a different domain some other time. It should not mean two things at once. It must not be both a floor polish and a dessert topping. It should mean One Thing, and should mean it all of the time.”
I worked as a janitor for four years near a restaurant, so I know a little bit about floor polishing and dessert toppings. This law might be a little less universal than you think. There are plenty of people who would happily try out floor polish as a dessert topping if they're told it'll get them high.
It probably won’t be up very long but it’s a classic.
I’m still waiting for the moment in the ice cream shop when I can ask them, “sugar or plain?” https://mediaburn.org/videos/sugar-or-plain/
not used that often to displace water.
It definitely revealed a lot of falsehoods and stereotypes.
I think that would be called a drug, not a desert topping.
Used to be, anyway. Modern alternatives are much better. It's still used as glue in wind instruments though.
Of course some of that osmosizes back via lisp and APL.