Still Loving Python

Ivan Voras ivoras at __yahoo__.com_
Tue Dec 13 21:09:40 EST 2005


Mike Meyer wrote:

>>A GUI builder is more pleasant to work with, at least
>>with a good one like Delphi or Qt designer.
> 
> That is your opinion, and I'm sure it's true for you. It isn't true
> for me.

Not trying to start a war here, but I consider this discussion something 
like using regular expressions vs coding string matchers by hand. Of 
course a "real language" is Turing-complete and thus without doubt more 
powerful than regular expressions, and certainly there are people who 
always code string parsers in their language of choice, but for those 
who know how to use it, regular expressions simplify the work a lot. 
It's more "natural" to see:

if str.matches("\d\d\d\d"):...

than to code

if str[0] in digits && str[1] in digits && str[2] in digits && str[3] in 
digits: ...

And in C, it's even more uglier. The point is: somebody had to code the 
RE parser and at the end, it will all fall back to the code written in 
C, for both RE and visual designer generated code.

People are visual creatures and GUI designers are simply easier to work 
with. :)




More information about the Python-list mailing list