lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


"Michael T. Richter" wrote:
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> >> I'd pit the power of functional programming against the power of OOP in
> >> these affairs any day.  :-)
> 
> > I'd like to see code for UI widgets that wasn't emulating OOP in an ugly
> > way.
> 
> Look into any Haskell or ML GUI toolkit then.
> 
> Interesting perspective shift.  I find the OOP GUI toolkits emulating
> first-order functions in a particularly ugly way....

You're amazingly right. I just remember the trouble to emulate a first
order function by using a member function and then passing it as a
signal handler to whatever GUI element

Dolfi