❄️🦊 is a user on octodon.social. You can follow them or interact with them if you have an account anywhere in the fediverse. If you don't, you can sign up here.

Show me a better example of misguided paternalism:

>>> exit
Use exit() or Ctrl-D (i.e. EOF) to exit
>>> exit()
➜ ~

❄️🦊 @icefox

@iks @szbalint This is a perfect example of one of those things that makes *perfect sense* until you think about it a while, then makes no sense at all, then makes perfect sense when you think about it more.

Languages often have some sort of command language in their repl, like GHC's ":foo" or OCaml's "" commands. Python doesn't have one. So, you need to make it part of the language. And making it call a function when you just print something out Feels Wrong.

· Web · 0 · 1