[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-kimageshop
Subject: Re: m_subject
From: Boudewijn Rempt <boud () valdyas ! org>
Date: 2003-12-10 20:35:52
[Download RAW message or body]
[Attachment #2 (multipart/signed)]
On Friday 21 November 2003 01:30, Patrick Julien wrote:
> I do not use data inheritance for all the same reasons I don't use global
> variables. I understand why this was necessary to add them to C++ in the
> first place, see "The Design and Evolution of C++" for a rational, but it
> doesn't mean I use it under normal circumstances.
Okay -- I'll keep this in mind while coding. I've never seen much harm in
inheriting data, as long as the inheritance hierarchy is shallow -- but then
again, I'm more used to Python where the whole idea of what constitutes a
class is much more fluid.
> Of course, it makes you wonder why more modern languages even support this
> feature in the first place :)
Perhaps because in languages like Java (although I'm not going to defend that
language as 'modern' or Python classes are objects in their own right. But
that's just a guess.
Anyway, I was only scanning previous mails to find that hint on how to
implement undo/redo for the brush tool, and then I found I hadn't noticed
this mail before.
--
Boudewijn Rempt | http://www.valdyas.org/index2.html
[Attachment #5 (application/pgp-signature)]
_______________________________________________
kimageshop mailing list
kimageshop@kde.org
https://mail.kde.org/mailman/listinfo/kimageshop
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic