[Qt-interest] Can you spot my mistake.

Andrew Hodgkinson ahodgkinson at endurancetech.co.uk
Mon Aug 24 18:34:14 CEST 2009


On 24/08/2009 17:24, Constantin Makshin wrote:

> IMHO, "ignore what you don't understand" is a bad idea [...]

I understand, but in such a case, the application could use the 
hypothetical high level arguments interface presented by QApplication.

As an example, the application author could provide an optional 
specification of the possible arguments (e.g. string, some higher level 
structure) to QApplication and let *it* do the parsing. One less piece of 
tedious, oft-replicated, oft-buggy code to write. Of course not *all* 
cases would be catered for, but then, authors can drop to a lower level 
API. At least they have the option.

It's a moot point; QApplication's initialisation API is clearly not going 
to change any time soon.

-- 
TTFN, Andrew Hodgkinson
Find some electronic music at:     Photos, wallpaper, software and more:
http://pond.org.uk/music.html                        http://pond.org.uk/



More information about the Qt-interest-old mailing list