Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #36775

Re: PyWart (Terminolgy): "Class"

References <5171d66e-580e-4bb3-bb8d-7e3f1de70ec4@googlegroups.com> <bd926d05-2a2f-41b6-b6c9-5c22d2cc00f7@googlegroups.com>
Date 2013-01-14 18:56 +1100
Subject Re: PyWart (Terminolgy): "Class"
From Chris Angelico <rosuav@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.490.1358150178.2939.python-list@python.org> (permalink)

Show all headers | View raw


On Mon, Jan 14, 2013 at 6:32 PM, Rick Johnson
<rantingrickjohnson@gmail.com> wrote:
> I really don't like using two words ("define object", or "def obj") and using one single keyword is ambiguous ("object" or "obj"). So the obvious solution is to combine the abbreviated words into one compound keyword that will save keystrokes, save parsing, and all-the-while maintain symmetry. That keyword is "defobj". Coupled with "defmeth" and "deffunc" we now have a symmetrical definition syntax!
>
> deffunc bar():
>    return
>
> defobj Foo():
>     defmeth __init__(self, blah):
>         pass

Awesome! Now, just one more step to make Python into the World's Most
Awesome Language(tm): Replace those lengthy words with single symbols
found in the Unicode set; compress everything down and enforce perfect
Unicode handling. Also, demand that names be one character long, to
enforce creativity by the Mark Rosewater principle. We will then have
a truly wonderful language; everything will be so utterly readable.

ChrisA

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

PyWart (Terminolgy): "Class" Rick Johnson <rantingrickjohnson@gmail.com> - 2013-01-13 22:46 -0800
  Re: PyWart (Terminolgy): "Class" Chris Angelico <rosuav@gmail.com> - 2013-01-14 18:10 +1100
  Re: PyWart (Terminolgy): "Class" Rick Johnson <rantingrickjohnson@gmail.com> - 2013-01-13 23:32 -0800
    Re: PyWart (Terminolgy): "Class" Chris Angelico <rosuav@gmail.com> - 2013-01-14 18:56 +1100
      Re: PyWart (Terminolgy): "Class" Dan Sommers <dan@tombstonezero.net> - 2013-01-14 14:46 +0000
    Re: PyWart (Terminolgy): "Class" Tim Chase <python.list@tim.thechases.com> - 2013-01-14 08:30 -0600
    Re: PyWart (Terminolgy): "Class" Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2013-01-14 13:59 -0500
      Re: PyWart (Terminolgy): "Class" Peter <peter.milliken@gmail.com> - 2013-01-14 11:43 -0800
        Re: PyWart (Terminolgy): "Class" Chris Angelico <rosuav@gmail.com> - 2013-01-15 07:57 +1100
          Re: PyWart (Terminolgy): "Class" Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-01-15 02:08 +0000
            Re: PyWart (Terminolgy): "Class" "D'Arcy J.M. Cain" <darcy@druid.net> - 2013-01-14 22:28 -0500
              Re: PyWart (Terminolgy): "Class" alex23 <wuwei23@gmail.com> - 2013-01-15 00:44 -0800
        Re: PyWart (Terminolgy): "Class" Tim Delaney <tim.delaney@aptare.com> - 2013-01-15 08:04 +1100
      Re: PyWart (Terminolgy): "Class" Peter <peter.milliken@gmail.com> - 2013-01-14 11:43 -0800
        Re: PyWart (Terminolgy): "Class" "Rhodri James" <rhodri@wildebst.demon.co.uk> - 2013-01-14 22:53 +0000
  Re: PyWart (Terminolgy): "Class" Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-01-14 17:26 +0000
    Re: PyWart (Terminolgy): "Class" Tim Chase <python.list@tim.thechases.com> - 2013-01-14 12:00 -0600
      Re: PyWart (Terminolgy): "Class" Dan Sommers <dan@tombstonezero.net> - 2013-01-15 00:51 +0000
    Re: PyWart (Terminolgy): "Class" Rick Johnson <rantingrickjohnson@gmail.com> - 2013-01-14 22:54 -0800
      Re: PyWart (Terminolgy): "Class" Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-01-15 09:01 +0000

csiph-web