Talk About Network

Google





Mac > Mac Programmer Tools > Re: Cross-Platf...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 29 of 55 Topic 607 of 637
Post > Topic >>

Re: Cross-Platform Windows plus Mac

by Paul Floyd <root@[EMAIL PROTECTED] > Oct 24, 2007 at 10:08 PM

["Followup-To:" header set to comp.sys.mac.programmer.help.]
On Tue, 23 Oct 2007 10:47:18 -0500, Michael Ash <mike@[EMAIL PROTECTED]
> wrote:
> In comp.sys.mac.programmer.help Paul Floyd <root@[EMAIL PROTECTED]
> wrote:
>> On Mon, 22 Oct 2007 17:25:53 -0500, Michael Ash <mike@[EMAIL PROTECTED]
>
wrote:
>>> Would you happen to know of any downloadable Qt apps which look and
behave 
>>> like native Mac apps? I would love to see one. I think it would be
great 
>>> if there were a viable cross-platform application framework, but so
far 
>>> every single application I've seen which was written in one completely

>>> failed to look or act the way I expected. If there are proper apps
written 
>>> in Qt then perhaps my *****sment is wrong.
>> 
>> I'm perfectly happy with Google Earth and Opera, which to my knowledge
>> ae both Qt based apps.
>
> I haven't really used Opera very much, but a quick test reveals pretty 
> serious problems. Tabbing between controls basically doesn't work; it 
> picks a small set of controls on the web page and never moves out of
them. 
> I can't tab into the address bar at all. If I start out in the tool bar 
> then I can't tab to the forward/backward buttons, despite having set my 
> system to allow keyboard focus on non-text controls. The toolbar also 
> isn't customizable, which is not good. The preferences window is modal
for 
> absolutely no good reason that I can see. The font picker used is a
total 
> joke, and both it and the color picker are *also* modal for no reason. 
> This is just what I saw in a few minutes, and is all stuff you will
avoid 
> "for free" by using a native API.

I've never been bothered by any of the widgets or shortcuts used by
Opera. In what way is the font picker inferior to, say, Mac OS X's font
picker? It seems quite functional to me. There are very many keyboard
shortcuts, most of which I've never used. Perhaps amongst them all there
is one that does what you want. If you really want to find out, ask in
the Opera fora on their web site. I'm pretty certain that the toolbar is
customizable. It may not be easy (not entirely a bad thing, on a few
apps that I've used I've accidentally deleted toolbar actions, and then
spent a good while figuring out how to get them back). Right click on
the toolbar, and select Customize..., select the Buttons tab and you can
drag icons to tbe toolbar.

In a web browser, the things that count for me are
1. Is it stable (unlike Mosaic and Netscape 4.x).
2. Does it render pages correctly (a bit of an issue with Opera, with
web pages that only work with MS Explorer or the Mozilla family).
3. Performance (less of an issue these days as CPU/RAM capabilities
march on).
4. Cross platform. For this point, Mozilla is tops, Opera is quite good,
and everything else is just miserable.
5. Features like popup and ad blocking. Here Safari falls down badly,
and requires plugins or the like (Mozilla also requires a plugin for
flash blocking, never tried it with Opera).

> It shocks and surprises me that you would think Google Earth would make
a 
> good example. I use it quite a lot, and the only reason I don't throw it

> away is because I can ignore its GUI most of the time by virtue of its 
> main task being a giant 3D view of terrain, and because nothing else can

> do what it does. Even simple things like pressing control-A in a text 
> field don't work. GE really makes no pretense of either looking or 
> behaving like a native application.

I agree that the UI is far from fantastic, but it gets the job done. And
what alternatives are there?

> Yes, it is. It is literally about half a dozen keywords and a handful of

> syntax additions on top of C. Your C++ experience has probably colored 
> your thinking in this regard. C++ is a language you can work with 
> constantly for a decade and still find strange new corners. Objective-C
is 

So is C!

> not that kind of language. It is C, plus a small set of extensions that 
> you can literally learn in a day. If you know C already, then the 
> difficult part in becoming a Cocoa programmer is not Objective-C, it is 
> Cocoa.
>
> To see what I mean, check out Apple's The Objective-C Programming 
> Language:
>
>
http://developer.apple.com/do***entation/Cocoa/Conceptual/ObjectiveC/index.html

I'll save the bookmark. In fact, I've saved the PDF. 142 pages, not bad.

> Perhaps now you can see why I think that Objective-C is not a real 
> obstacle. If Objective-C were dominant and everybody had to learn C++ in

> order to program for some obscure platform, I could definitely see it.
But 
> the reality is the opposite, and ObjC is really pretty trivial.

I'm still reserving judgement.

>> Outside of these circles, searching for "C++" on www.jobserve.com gives
>> me 3430 hits. Objective-C? 1. That's right, one hit. And the title for
>> the job offer? "C++ Mac Developer - Belgium - Cocoa Xcode OSX". (For
>> real job prospects, Java rules with 5968 hits).
>> 
>> Are you going to persist in arguing that Objective-C is not obscure and
>> virtually unknown?
>
> Yes I am. If you can use personal anecdotes then so can I. I'm a Mac 

OK, show me a general IT job site that has over 3000:1 Objective-C:C++
job ads. Today I was browsing Dr Dobbs, and I clicked on their job site
link. C++ 600 odd, Objective-C, zero.

> Sure, it's not as popular or well known as C, C++, or Java, but that's a

> ridiculously unfair test, like saying that asking for UNIX is not 
> justified because UNIX is not popular or well known compared to Windows.

jobs != number of users

Windows may have 20x the number of users of Unix, but how many Windows
users buy software licences that run to 4 digits or more (in USD or
Euros)?

> You seem to be making the common mistake of thinking of a language as a 
> critical bullet point on a resume. There's no reason it has to be that 
> way. If you need somebody to do Objective-C, find someone who's good
with 
> C and who knows an OO language (something with duck typing preferred,
Java 
> will do, and C++ could be sufficient if you absolutely can't find
anything 
> else) and have him learn the language. It simply will not take long
enough 
> to justify requiring him to have already learned it elsewhere. If *you* 
> need to do Objective-C, start learning. It won't take you long. Your 
> investment in time will be repaid rapidly. And sure, knowing that
language 
> may not help you get a job directly, but who cares? That's not how *I* 
> decide whether or not to learn something.

Well, I still simply do not see the point. I forsee no prospects of
using Objective-C in a professional context. So that leaves dabbling at
home. And since I mainly dabble at home on Solaris and Mac OS X (plus a
small amount on FreeBSD, Linux and Windows), then it makes sense to me
to stick to C++ and Qt, which covers all those platforms.

> Overall, you seem to have some common misconceptions about Objective-C
and 
> Cocoa. You seem to think that ObjC is a vast, complicated, C++-like 
> language, which simply isn't the case; you can learn enough to get
started 
> in hours. You seem to think that ObjC is an all-or-nothing prospect, 
> requiring you to "****t" code to it, when the reality is that ObjC will 
> talk to C with no problems, and ObjC++ lets you interface directly with 
> C++ code.

I'm a bit of a perfectionist when it comes to learning programming
languages (verging on being a language lawyer). The grammar may be
straightforward, but what is difficult are the idioms.

> Sure, no matter how great Objective-C and Cocoa are, it's still going to

> be harder to write a native GUI than it will be to rely on something
like 
> Qt. It's also going to be harder to translate your app into Chinese than

> it will be to just leave it in English. But if you're releasing a
special 
> China edition and you expect it to actually have any success, you're
going 
> to have to get it translated. Likewise, if you're going to make a Mac 
> version of your software, it will pay to get it translated into the
native 
> tongue.

A bientot
Paul
 




 55 Posts in Topic:
Cross-Platform Windows plus Mac
"Chris Shearer Coope  2007-10-11 15:00:31 
Re: Cross-Platform Windows plus Mac
Reinder Verlinde <rein  2007-10-12 00:22:16 
Re: Cross-Platform Windows plus Mac
Jeffrey Dutky <jeff.du  2007-10-11 22:22:34 
Re: Cross-Platform Windows plus Mac
mlabs <aaron.miramar.l  2007-10-12 07:10:19 
Re: Cross-Platform Windows plus Mac
Simon Slavin <slavins.  2007-10-13 20:43:42 
Re: Cross-Platform Windows plus Mac
"Armel Asselin"  2007-10-22 11:03:19 
Re: Cross-Platform Windows plus Mac
Doc O'Leary <droleary.  2007-10-22 06:52:59 
Re: Cross-Platform Windows plus Mac
"Armel Asselin"  2007-10-22 14:35:48 
Re: Cross-Platform Windows plus Mac
Michael Ash <mike@[EMA  2007-10-22 11:41:19 
Re: Cross-Platform Windows plus Mac
Gregory Weston <uce@[E  2007-10-22 09:48:49 
Re: Cross-Platform Windows plus Mac
Paul Floyd <root@[EMAI  2007-10-22 18:10:17 
Re: Cross-Platform Windows plus Mac
Gregory Weston <uce@[E  2007-10-22 17:55:26 
Re: Cross-Platform Windows plus Mac
Michael Ash <mike@[EMA  2007-10-22 17:25:53 
Re: Cross-Platform Windows plus Mac
Paul Floyd <root@[EMAI  2007-10-23 07:26:23 
Re: Cross-Platform Windows plus Mac
Doc O'Leary <droleary.  2007-10-23 06:16:18 
Re: Cross-Platform Windows plus Mac
Gabriele Greco <gabrie  2007-10-23 13:26:35 
Re: Cross-Platform Windows plus Mac
Sherman Pendley <spamt  2007-10-23 11:00:44 
Re: Cross-Platform Windows plus Mac
Gregory Weston <uce@[E  2007-10-23 09:26:15 
Re: Cross-Platform Windows plus Mac
Paul Floyd <root@[EMAI  2007-10-24 20:41:13 
Re: Cross-Platform Windows plus Mac
Tom Harrington <tph@[E  2007-10-24 15:33:16 
Re: Cross-Platform Windows plus Mac
Paul Floyd <root@[EMAI  2007-10-24 22:17:12 
Re: Cross-Platform Windows plus Mac
Michael Ash <mike@[EMA  2007-10-24 18:52:35 
Re: Cross-Platform Windows plus Mac
Gregory Weston <uce@[E  2007-10-25 10:48:42 
Re: Cross-Platform Windows plus Mac
Paul Floyd <root@[EMAI  2007-10-25 21:18:27 
Re: Cross-Platform Windows plus Mac
Gregory Weston <uce@[E  2007-10-26 11:44:06 
Re: Cross-Platform Windows plus Mac
Ben Artin <macdev@[EMA  2007-10-26 23:21:16 
Re: Cross-Platform Windows plus Mac
Gregory Weston <uce@[E  2007-10-27 06:52:40 
Re: Cross-Platform Windows plus Mac
Michael Ash <mike@[EMA  2007-10-23 10:47:18 
Re: Cross-Platform Windows plus Mac
Paul Floyd <root@[EMAI  2007-10-24 22:08:24 
Re: Cross-Platform Windows plus Mac
Tom Harrington <tph@[E  2007-10-23 10:00:07 
Re: Cross-Platform Windows plus Mac
Simon Slavin <slavins.  2007-10-25 20:19:27 
Re: Cross-Platform Windows plus Mac
Michael Ash <mike@[EMA  2007-10-25 17:48:44 
Re: Cross-Platform Windows plus Mac
Steven Fisher <steve@[  2007-10-23 21:32:00 
Re: Cross-Platform Windows plus Mac
Michael Ash <mike@[EMA  2007-10-23 21:40:56 
Re: Cross-Platform Windows plus Mac
Paul Floyd <root@[EMAI  2007-10-24 20:56:43 
Re: Cross-Platform Windows plus Mac
Ben Artin <macdev@[EMA  2007-10-25 16:29:53 
Re: Cross-Platform Windows plus Mac
Michael Ash <mike@[EMA  2007-10-25 17:52:58 
Re: Cross-Platform Windows plus Mac
Gabriele Greco <gabrie  2007-10-26 11:18:20 
Re: Cross-Platform Windows plus Mac
glenn andreas <gandrea  2007-10-26 08:52:11 
Re: Cross-Platform Windows plus Mac
Michael Ash <mike@[EMA  2007-10-26 10:01:16 
Re: Cross-Platform Windows plus Mac
Ben Artin <macdev@[EMA  2007-10-26 23:10:42 
Re: Cross-Platform Windows plus Mac
Chris Hanson <cmh@[EMA  2007-10-27 02:00:33 
Re: Cross-Platform Windows plus Mac
Ben Artin <macdev@[EMA  2007-11-08 01:33:48 
Re: Cross-Platform Windows plus Mac
Michael Ash <mike@[EMA  2007-11-08 10:04:40 
Re: Cross-Platform Windows plus Mac
Ben Artin <macdev@[EMA  2007-11-08 11:39:25 
Re: Cross-Platform Windows plus Mac
Michael Ash <mike@[EMA  2007-11-08 11:17:18 
Re: Cross-Platform Windows plus Mac
Ben Artin <macdev@[EMA  2007-11-08 13:35:24 
Re: Cross-Platform Windows plus Mac
Michael Ash <mike@[EMA  2007-11-08 21:42:39 
Re: Cross-Platform Windows plus Mac
glenn andreas <gandrea  2007-11-08 10:05:23 
Re: Cross-Platform Windows plus Mac
Ben Artin <macdev@[EMA  2007-11-08 11:42:46 
Re: Cross-Platform Windows plus Mac
Steven Fisher <steve@[  2007-10-26 07:40:08 
Re: Cross-Platform Windows plus Mac
Steven Fisher <steve@[  2007-10-26 07:43:35 
Re: Cross-Platform Windows plus Mac
Michael Ash <mike@[EMA  2007-10-26 10:12:27 
Re: Cross-Platform Windows plus Mac
Steven Fisher <sdfishe  2007-10-27 06:02:07 
Re: Cross-Platform Windows plus Mac
Chris Hanson <cmh@[EMA  2007-10-27 02:09:34 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
localhost-V2008-12-19 Wed Jan 7 23:34:40 PST 2009.