Re: Re: class proposal

"Mark Hahn" <[email protected]>
Newsgroups gmane.comp.lang.prothon.user
Message-ID <[email protected]>
Serge Orlov wrote:

> class Class:
>     <code block1>
>     sharedAttributes:
>         <code block2>
>

As you may have noticed, I'm starting to like your idea the best.  I want to
change the syntax though.  For one thing I want the sharedAttributes section
to be the default section.  A class is a blueprint for the instance, not the
class methods.  Also the name "sharedAttributes" is too long.  Names like
"instance", "class", etc. are long enough.

I started a thread called "two-tier class thoughts (part 2)" that touches on
this.  I'll start another thread with a concrete proposal.  You can argue
with me in that thread.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.