[prev in list] [next in list] [prev in thread] [next in thread] 

List:       koffice-devel
Subject:    Re: kword frames design improvements ?
From:       David Faure <david () mandrakesoft ! com>
Date:       2002-07-16 11:41:48
[Download RAW message or body]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Friday 28 June 2002 18:41, Frank Dekervel wrote:
> Hi,
> 
> i think i've identified some problems with the frame code in kword, and i made 
> a proposal to solve them. I illustrated the proposal with a small 
> test-application (with rotated frames as a proof of concept)
> 
> I already discussed most ideas with david, he thinks some of the ideas are 
> okay (like relative coords for inline frames), some ideas are his (like the 
> top-down painting), but he's sceptical about the others, because but not only 
> because they are intrusive.

I thought again about this yesterday and one more reason I'm not too
happy with this precise design change, is the overuse of base classes
(like, having to change the document and view classes too).
IMHO this proposed design solves very well the one case you're interested in
(painting/editing of inline frames, particularly those with multiple parents),
but a good design must solve all problems, not only a few, and must also
be easy to understand. And the complexity only increases, the more base
classes are used.

Interestingly, a paper came out today with many more details on why
it's not a good design practice to overuse inheritance.
Please have a look at:
http://www.kuro5hin.org/?op=displaystory;sid=2002/7/14/81923/3656

- -- 
David FAURE, david@mandrakesoft.com, faure@kde.org
http://people.mandrakesoft.com/~david/
Contributing to: http://www.konqueror.org/, http://www.koffice.org/
KOffice-1.2-beta2 is out! http://dot.kde.org/1025176121/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE9NAZ872KcVAmwbhARAnEoAJ0d5pOVE9kTmDUDV6T1DiyjEcwk4wCfdhCP
lsw8MfOzRFSDw2RHEN5qGOg=
=Paay
-----END PGP SIGNATURE-----

_______________________________________________
koffice-devel mailing list
koffice-devel@mail.kde.org
http://mail.kde.org/mailman/listinfo/koffice-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic