CamelCase versus wide_names (Prothon)
Antoon Pardon
apardon at forel.vub.ac.be
Fri Apr 23 04:46:09 EDT 2004
Op 2004-04-22, Mark Hahn schreef <mark at prothon.org>:
> "Roy Smith" <roy at panix.com> wrote ...
>
>
>> Well, we could always try something like...
>>
>> <variable>
>> <name>
>> <component>long</component>
>> <component>variable</component>
>> <component>name</component>
>> <name>
>> </variable>
>
> That's it! We'll do the whole Prothon language in XML! (The one idea that
> hasn't been proposed over in Prothon lists yet :)
How about this idea, which is about something different but may be
related. Allow your argument list to be divided among the identifier.
If you would define a component as something like an identifier but
without an underscore and then define an identifier as a number
of components attached to each other with underscores you then could
allow a function to have part of its arguments between components.
Something like:
copy_to(a,b)
could then also be written as:
copy(a)to(b)
--
Antoon Pardon
More information about the Python-list
mailing list