Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Message from discussion anygui,anydb, any opinions?
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Shane Hathaway  
View profile  
 More options May 31 2005, 5:55 pm
Newsgroups: comp.lang.python
From: Shane Hathaway <sh...@hathawaymix.org>
Date: Tue, 31 May 2005 15:55:12 -0600
Local: Tues, May 31 2005 5:55 pm
Subject: Re: anygui,anydb, any opinions?

rzed wrote:
> That's all I'm talking about here. To be able to write a Python
> application that can ultimately be displayed using wxWidgets or Qt
> or Tkinter or Curses. Then, without having to do more than to
> change which interface package is imported, to expect to see the
> result displayed. To have it just happen, and to have expectations
> when using Python that it *will* just happen that way.

> So what do you think? What's wrong with the picture? Why isn't
> there a greater priority to work in this direction?

See "The Law of Leaky Abstractions" by Joel Spolsky.

http://www.joelonsoftware.com/articles/LeakyAbstractions.html

As he says, "All non-trivial abstractions, to some degree, are leaky."
GUI abstractions tend to leak badly.  As I write this email in
Thunderbird, my initial impression is that most of the controls on the
screen are pretty standard and could be done with virtually any
toolkit... or are they?  Looking again, the "from" field has both a
place for me to type and some grayed out text that reminds me I'm
posting from a different account; the "to", "cc", and "newsgroup" fields
are not quite combo boxes; the toolbar has pulldown buttons.

So it turns out that Thunderbird is actually tied to a particular
toolkit, and for good reason: GUI development has not stagnated; toolkit
developers continue to invent new, interesting widgets and variations,
leading to better UIs.  Application developers want to take advantage of
those innovations.

Even anydbm is a pretty leaky abstraction.  I recently tested the
behavior of 5 Python dbm implementations when they run out of disk
space.  Most left the database in an inconsistent state, some swallowed
the exception, some segfaulted, and one deadlocked.  If I'm going to
rely on a dbm module, I really need to know what it's going to do when
it hits an exceptional condition.  Thus anydbm seemed like a bad choice.

Shane


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google