[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: class KStartParams
From: Stefan van den Oord <s.m.vandenoord () student ! utwente ! nl>
Date: 1999-06-07 14:53:10
[Download RAW message or body]
On Mon, 07 Jun 1999, Michael Koch wrote:
> > > I want to make KoApplication in KOffice-libs using KStartParams.
> >
> > I would call it KOfficeApplication, but I guess that's a matter of
> > taste.
>
> It's named KoApplication a long time ago. Why change the name. It's an naming
> convention in KOffice-libs: all class-names start with "Ko".
Oh, that's ok, I thought you meant you were going to write it.
[snip]
> IMHO getopt is not very flexible. With KStartParams it will be easier to check
> if a paramter is present or not. You can delete a parameter, check if a short
> or a long version of a paramter is present, a.o.
>
> With getopt() you have to deal with char*. KStartParams uses QString. You don't
> need do handle complicated C-functions. IMHO it's easier to code C++ then C.
Well, those are a couple of very good reasons. And I fully agree that
C++ is easier than C. (Once you understand the object-oriented
paradigm; if you learned programming the "old-fashioned way", it
appears that it is not too easy to understand object orientation. Ask
the students I help with their programming courses :-)
Stefan
--
Stefan van den Oord
s.m.vandenoord@student.utwente.nl
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic