|
Re: protected methods: msg#00441web.dojo.devel
Surprise surprise but I agree. :) Another really prevalent example of API design atrocity is every and any API that plays to the design of java swing. I hope I'm not insulting anyone on the list here, but if you've ever had to create large-ish applications using this api you'll dislike it very much. If you've ever done the same thing in non java swing api's you'll learn to pretty much hate swing. They got the cross platform part right but that's about where it ends. The biggest source of hatred for me personally is GridBagLayout and the lack of rendering hints. Despite all the flaws it still seems to find it's way into many frameworks. They keep getting the right idea about carrying over analogies that people can re-use existing knowledge for, but they are the wrong analogies. GWT is guilty of this doubly as they seem to drop the functional programming advantages js offers AND make you create swing code at the same time. Lovely. I refuse to believe any of the plexers here are part of the same group there, but if they are please accept my apologies beforehand. (even if they are sort of meaningless after the bashing just gone through ;) ) So, saying classes and methods sounds innocent enough on the surface - but they really aren't the same as objects and functions. Objects seem more appropriate because of the fact that you can't actually create a native type in the language unless you modify the browser you are working in first. Maybe when they allow pre-compiled ~things~ to be installed somehow it will work, but I'm guessing even supporting the upcoming js2 class analogies will be a tough feat of programming to accomplish in the existing vm without either a more robust runtime to use or more pre-compilation steps. On 10/27/06, Tom Trenka <ttrenka@xxxxxxxxx> wrote: Inline. -- Jesse Kuhnert Tapestry/Dojo/(and a dash of TestNG), team member/developer Open source based consulting work centered around dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com _______________________________________________ dojo-contributors mailing list dojo-contributors@xxxxxxxxxxxxxxx http://dojotoolkit.org/mailman/listinfo/dojo-contributors |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: protected methods: 00441, Tom Trenka |
|---|---|
| Next by Date: | Re: protected methods: 00441, Bill Keese |
| Previous by Thread: | Re: protected methodsi: 00441, Tom Trenka |
| Next by Thread: | Re: protected methods: 00441, Bill Keese |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |