An Evil Trend |
Man, I really hope this doesn't count as a blog. |
When first learning about OOP in high school I thought that classes would actually model the world. I believed that there would be some CPAN-like central repository of code that had classes abstracting reality, but always growing closer to a single, realistic end. Some introductory books pose it in a way that hints at this ability.
But they do! Everyone knows about the government class:
class Government:
def do_nothing():
pass
def fuck_up():
fix_election("bush", 2000)
begin_war("iraq")
get_reelected()