From owner-freebsd-questions@FreeBSD.ORG Wed Apr 27 02:14:30 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 17F6C16A4CE for ; Wed, 27 Apr 2005 02:14:30 +0000 (GMT) Received: from april.chuckr.org (april.chuckr.org [66.92.151.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2685443D41 for ; Wed, 27 Apr 2005 02:14:27 +0000 (GMT) (envelope-from chuckr@chuckr.org) Received: from [66.92.151.195] (july.chuckr.org [66.92.151.195]) by april.chuckr.org (Postfix) with ESMTP id 31F1B11F62; Tue, 26 Apr 2005 22:09:45 -0400 (EDT) Message-ID: <426EF546.30904@chuckr.org> Date: Wed, 27 Apr 2005 02:13:26 +0000 From: Chuck Robey User-Agent: Mozilla Thunderbird 1.0 (X11/20050316) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Danny Pansters References: <20050426133414.EBFB843D45@mx1.FreeBSD.org> <426E757D.3070505@chuckr.org> <200504270208.19990.danny@ricin.com> In-Reply-To: <200504270208.19990.danny@ricin.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: Steven Friedrich cc: freebsd-questions@freebsd.org Subject: Re: Qt programming X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Apr 2005 02:14:30 -0000 Danny Pansters wrote: [some eliding] > I find this a tad biased. Let me try to counter a bit and provide some more > info. Oh, I admit I am a bit prejudiced. I might be a bit more than a little, even. I heartily dislike C++ (I find it FAR too complicated for it's feature set). I Like Python, but I dislike Perl, for very nearly the same reasons as C++, except in the case of perl, it's even worse. I also admit a prejudice against precompilers, but sir, I ADMITTED THAT UP FRONT! Read it, I said it out front that it was a "very personal prejudice". If I go out of my way to show that it's an opinion with more than one side, then I find your complaining about it in very poor taste. I'm not against your disagreeing, I just don't appreciate you calling me biased over it, not when I try so hard to be fair. Note I am not commenting (yet) on the meat of your opinions. I like your opinions. I disagree in many cases, but I like the way you expressed them. > > One could also argue that qt has a bootload more high level functionality. And > "based upon a preprocessor"? You mean it's C++? No, how about I call up an example I think that most of us have hit, the sql precompilers, stuff that has you putting stuff like $READ into you C code. stuff that is illgal in C, but precompiled away. That's what "moc" is, right? I do not like precompilers. I am not talking about cpp. Gnome does the job without precompilers, proving at least that it CAN be done without it. Yes. So is wxwidgets (FKA > wxwindows) which is another fine toolkit. Python bindings to any of them > might have a bit less functionality than the native C or C++ toolkits but > generally their amount of functionality reflects that of the underlying > toolkit. True. I find Python's fantastic ease, in being able to bring in all those outside toolkits, one of it's greatest strengths. I'm absolutely in LOVE with pygtk | pyqt | (about 6 others). All done without precomilers. Of course, that arguments makes little sense here. > > >>Another thing you might want to consider is, leaerning python, and then >>using python's incredible facilities to program directly in gtk (see >>pygtk) or qt (see pyqt). I have myself done a large job in pygtk, it's >>a great environment to work in, a very rich programming environment for >>gui work. > > > I like using python for both low level stuff (or quick-and-dirty scripts) and > GUI stuff. It's very versatile with lots of added modules. The base modules > are pretty much optimized for speed, no need to try and reinvent the wheel. I > played with py-gtk a bit (with ROX desktop) but found it a little cumbersome. > > I also used py-wx for a little accounting app for my own which I wanted to be > able to run on both *NIX and Windows. On *NIX it renders as gtk widgets, on > Win32 natively. > > But qt (py-qt) definately has the most functionality to get started with. I > never really done a project with it and am personally more interested in > py-kde (which builds upon it), but it surely has a lot of stuff ready to use > to build a complex app using python. So just out of curiosity, because I am more at ease with pygtk than pyqt, what is it that you can do in pyqt that I can't in pygtk? > > There's also a py-anygui that abstracts widgets (with some limitations of > course) and then you can deploy them with py-gtk, py-wx, py-qt, py-kde, > py-ncurses...). Don't like that, too little features, lost while chasing the god of cross-architectures. > > Also python has lots of very useful modules, lots more unofficial ones which > at the very least you can use as starting point. So yeah, considering today's > processors and RAM the average PC has, python is certainly something to > consider. > > HTH, >