On Sat, 2009-07-25 at 17:37 -0700, Krzysztof Kosiński wrote:
The API looks like it is tied to the UI and uses global objects / state.
I think that you're thinking about the API a little bit differently. Specifically, you're thinking about it talking to people who know what "anti-pattern" means :)
The API that Soren developed is tied closely to the UI, for one of the things that it's meant to do is empower a scripting console for technical users to be able to quickly do operations that would be otherwise difficult. Think of something like Autocad here. So the idea is that it might be easier for you to select all the rectangles using a quick script rather than figure out where they are. We also want people to be able to turn their scripts into extensions for sharing and to help developers get involved in the project. (easy contributions are addictive :)
That all being said, I think your idea of a non-visible desktop is a good one.
--Ted