[Edu-sig] Natural Language Programming

Arthur_Siegel@rsmi.com Arthur_Siegel@rsmi.com
Wed, 10 Jan 2001 19:59:12 -0600


Kirby wrote :

>PS:  In Python, don't forget that you can just define synonyms.
>Like, if your Vector object has a translate(self,v) method (mine
>does), feel free to write:

>       def move(self,v):
 >          return self.translate(v)

>And you could define resize() as an alternative to scale().

Absolutely agreed.  But to achieve the full objective we need
to talking at least about open source.

This is quite similar to the idea I was trying to express in my
grandly titled:

"My New CP4E Mega-Theory"     post of last month.

OOP can be used to layer complexity and language issues.

We can be demonstrating the langauge concept of synonym and 
the programming concept of OOP inheritance simultaneously.  

But it is only effective if we have the source,  the source itself
is crisp and straight-forward - ,and we are not afraid to look it.

Which is exactly why Python is central to it all, in my mind. 

And then this great big issue goes away to everybody's (I think)
satisfaction.

ART