Re: [PY!] Playing with Py

new topic     » goto parent     » topic index » view thread      » older message » newer message

Irv wrote:

> OOP

I had the same sort of thought, and figured that when Robert implements
namespaces in Euphoria, we'll get OOP features as well. The problem is that
variables are statically bound, so you can't generalize it to:

   def show_info( fruit )
      ? fruit.type -- undefined
   end def

or in Euphoria (assuming namespaces)

   procedure show_info( sequence fruit )
      ? fruit.type -- undefined
   end procedure

Sorry. I may consider adding dynamic binding later (and allowing OOP), but
for now, I'm sticking rather close to the Euphoria model.

-- David Cuny

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu