Re: Desing Question re Multiple Constructors



On Sun, 30 Oct 2005 08:33:59 -0500, "Rhino"
<no.offline.contact.please@xxxxxxxxxx> wrote, quoted or indirectly
quoted someone who said :

>It sounds like you're saying that whichever one "feels" most natural is the
>best one to use. Aren't there some sort of theoretical guidelines that can
>be used to help me judge which approach is most appropriate? Surely it can't
>be purely a "gut feel" kind of thing?

You can measure what I mean objectively by counting the keystrokes
necessary OUTSIDE the class to get the work done using each of the
designs.

The sort of things that show up in that sort of testing are: I nearly
always have a FILE and the class wants an URL and I end up doing a
conversion in the code that applies the class. You probably want to
change the interface to accept a FILE directly.
--
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.
.



Relevant Pages

  • Re: The Dock through the years
    ... Launcher visible and that was very convenient and easy to do. ... means saying no means you were wrong. ... easier to move hand from mouse to keyboard than to uncover the Launcher ... more convenient for this sort of thing than the keyboard method you use. ...
    (uk.comp.sys.mac)
  • Re: o/t Why me :-(
    ... was not you and chances are it'll all sort itself out in the end. ... area - they'd got the registration down wrong and it came out as his car. ... > I have just had a letter from my insurers saying my car has been involved ... > The lady told me not to worry and said this happens a lot, ...
    (uk.rec.competitions)
  • Re: According to Obama
    ... bell curve seem to handle genuinely smart people okay, ... tendencies and elitism of the intellectual sort. ... There is a correlation between "wingnut conservative" and "saying ... / and you can have the liberty to starve''. ...
    (rec.sport.football.college)
  • Re: According to Obama
    ... bell curve seem to handle genuinely smart people okay, ... and it's directly related to my point the other day about them and Bush ... tendencies and elitism of the intellectual sort. ... There is a correlation between "wingnut conservative" and "saying ...
    (rec.sport.football.college)
  • Re: According to Obama
    ... I'm saying that there might be a virulent disdain for intellectual ... bell curve seem to handle genuinely smart people okay, ... tendencies and elitism of the intellectual sort. ...
    (rec.sport.football.college)