- Posted by Michael Nelson <mike-nelson-ODAAT at WORLDNET.ATT.NET> Jul 05, 1999
- 1802 views
------=_NextPart_000_0077_01BEC736.38070C60 charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable David, I do owe you an apology for being imprecise--Llama is not tightly tied = to the Windows API and seems to be getting less so as you develop it. = Perhaps I should have said that Llama is very well suited to providing = services such as those provided by the Windows API. I also did not mean = to imply in any way that Llama was intended to be fully generic. An example of my point is the function getMethodID() in classes.e (IF I = understand your code correctly): this creates a method and makes it = available to all classes. I think this is great for Windows-like = programming where methods are largely event handlers--a real = convenience--you declare "onClick" once and then implement it for each = class that needs it (which will be most of them). I find this very = thing an inconvenience in a generic system where methods are mostly not = event handlers and where different classes have methods that may be very = dissimilar--I don't like the concept of declaring a method that 90% of = classes won't need and making it available to all classes. Yet I think = this very feature was a good design decision for Llama's intended = purpose. --Mike Nelson ------=_NextPart_000_0077_01BEC736.38070C60 charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN"> <HTML> <HEAD> <META content=3Dtext/html;charset=3Diso-8859-1 = http-equiv=3DContent-Type> <META content=3D'"MSHTML 4.72.3110.7"' name=3DGENERATOR> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT color=3D#000000 size=3D2>David,</FONT></DIV> <DIV><FONT color=3D#000000 size=3D2></FONT> </DIV> <DIV><FONT color=3D#000000 size=3D2>I do owe you an apology for being=20 imprecise--Llama is not tightly tied to the Windows API and seems to be = getting=20 less so as you develop it. Perhaps I should have said that Llama = is very=20 well suited to providing services such as those provided by the Windows=20 API. I also did not mean to imply in any way that Llama was = intended to be=20 fully generic.</FONT></DIV> <DIV><FONT color=3D#000000 size=3D2></FONT> </DIV> <DIV><FONT color=3D#000000 size=3D2>An example of my point is the = function=20 getMethodID() in classes.e (IF I understand your code correctly): = this=20 creates a method and makes it available to all classes. I think = this is=20 great for Windows-like programming where methods are largely event = handlers--a=20 real convenience--you declare "onClick" once and then = implement it for=20 each class that needs it (which will be most of them). I find this = very=20 thing an inconvenience in a generic system where methods are mostly not = event=20 handlers and where different classes have methods that may be very = dissimilar--I=20 don't like the concept of declaring a method that 90% of classes won't = need and=20 making it available to all classes. Yet I think this very feature = was a=20 good design decision for Llama's intended purpose.</FONT></DIV> <DIV><FONT color=3D#000000 size=3D2></FONT> </DIV> <DIV><FONT size=3D2>--Mike Nelson</FONT></DIV> ------=_NextPart_000_0077_01BEC736.38070C60--