Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion wxTextMeasure implementation
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Manolo  
View profile  
 More options Oct 2 2012, 1:18 pm
From: Manolo <manolo...@gmail.com>
Date: Tue, 02 Oct 2012 19:18:43 +0200
Local: Tues, Oct 2 2012 1:18 pm
Subject: Re: [wx-dev] wxTextMeasure implementation

> you should try to have as well-defined/encapsulated/isolated/lightly
> coupled classes as possible.

This is what I called the "minimum set".
I'm talking about using a feature just because it's a paradigm.
For example, a Point class
class Point
{
   public:
   int x, y;
};

It is very clear what 'x' and 'y' mean. Nobody is going to get into
troubles because of using myPoint.x = 3;
But the paradigm says "make x,y private and add setters and accessors".
So we add some Get/Set member functions. This is rarely useful, but adds
more code and [sometimes] more confusion.
Of course, in other cases, the paradigm is really true.

FWIW, you have decided that wxWidgets follows some paradigms. OK. We can
live with them.
I'll rework the patch the way you like.

Regards,
Manolo


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.