On Mon, Jun 09, 2008 at 10:51:37AM +0100, Patrick Quinn-Graham wrote: > On 9-Jun-08, at 10:33 AM, H.Merijn Brand wrote: > >> On Mon, 09 Jun 2008 10:03:15 +0100, Patrick Quinn-Graham >> <pf...@mac.com> wrote: >>> >>> Python 2.5.1 (r251:54863, Apr 15 2008, 22:57:26) >>> [GCC 4.0.1 (Apple Inc. build 5465)] on darwin >>> Type "help", "copyright", "credits" or "license" for more information. >>>>>> ^D >>> Sophie:~ patrick$ >>> >>> Considering you're writing code there, it doesn't seem unreasonable to >>> actually type the () to make it a function call. >> >> considering he does NOT want to write code here, but he wants to stop, >> quit, exit, or whatever, it is completely unreasonable to require the >> parens. Very valid hate indeed. > > Considering it's an interactive programming shell, and it tells you exactly > how to quit, I disagree.
No, it's full of hate. Python there is saying, "I know what you wanted to do. I know *exactly* what you wanted to do. But you have to conform to EXACTLY HOW I WANT YOU TO DO IT before I'll actually do what I can obviously tell you want to do." Now that is hate. If a program is capable of figuring out what you want to do, its response should not be to lecture you on the correct way of asking it to do what you want to do, but to just goddamn *do* it. I actually came up with a way to make it quit being so goddamn hateful about telling you how to quit: import sys class ExitClass: def __repr__(): sys.exit() exit = quit = ExitClass() See! Not hard! But Guido is an arrogant little twerp, and he insists that people conform to how Python wants to operate, rather than having Python conform to how *people* want to operate. It's perfectly legitimate hate. --Dave