......... Hong- I would like to know the reference (paper/book etc.) from
where you have quoted the thumb rule of "not more than 300 LOC per class".

Bala (T.C.Balachandra)




-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Zhuang, Hong
Sent: Thursday, October 11, 2001 3:13 PM
To: 'Sreedevi Gudavalli'; [EMAIL PROTECTED];
[EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: (ROSE) interface



Using interface will not help you reduce complexity. People use it to define
abstract operations. The class that extends the interface in turn will
implement those operations.

It seems that you need to divide your Bank class into several classes. The
rule of thumb is that a class shouldn't have more than 300 lines of code. A
customer, for instance, can have a bank account, a loan and a credit card
with a bank. You might want to handle each case in a separated class.

Hope it helps

Hong

-----Original Message-----
From: Sreedevi Gudavalli [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 11, 2001 3:50 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED];
[EMAIL PROTECTED]
Subject: (ROSE) interface




Hi,

Iam doing some class diagrams for a loan project.
I have object called Bank
This class is becoming complex with many attributes
and operations. Can I use interface to Bank class to reduce
complexity? What are the better ways? Any ideas?

thanks
Sree


Sounds like a paging problem. Rose requires a lot of memory. You should have
at least 128m.

 >  -----Original Message-----
 > From:        Netherwood Paul [mailto:[EMAIL PROTECTED]]
 > Sent:        Thursday, October 11, 2001 11:31 AM
 > To:  [EMAIL PROTECTED]
 > Subject:     Rose startup time
 >
 > Does anyone know why Rose takes almost two minutes to start up? It seems
 > to take ages regardless of what edition it is or whether its Node Locked
 > or Floating or before any models have been loaded. It also seems to get
 > worse for each time Rational come out with a new version.
 >
 > Paul Netherwood
 >
 > Beach Capital Management Limited
 > Cannon Bridge
 > 25 Dowgate Hill
 > London EC4R 2GN, UK
 > Phone  : +44 (0)20 7337 2936
 > Fax    : +44 (0)20 7337 6780
 > E-mail : [EMAIL PROTECTED]
 >
 >
************************************************************************
* Rose Forum is a public venue for ideas and discussions.
* For technical support, visit http://www.rational.com/support
*
* Admin.Subscription Requests: [EMAIL PROTECTED]
* Archive of messages:
http://www.rational.com/support/usergroups/rose/rose_forum.jsp
* Other Requests: [EMAIL PROTECTED]
*
* To unsubscribe from the list, please send email
*
* To: [EMAIL PROTECTED]
* Subject:<BLANK>
* Body: unsubscribe rose_forum
*
*************************************************************************



_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp

************************************************************************
* Rose Forum is a public venue for ideas and discussions.
* For technical support, visit http://www.rational.com/support
*
* Admin.Subscription Requests: [EMAIL PROTECTED]
* Archive of messages:
http://www.rational.com/support/usergroups/rose/rose_forum.jsp
* Other Requests: [EMAIL PROTECTED]
*
* To unsubscribe from the list, please send email
*
* To: [EMAIL PROTECTED]
* Subject:<BLANK>
* Body: unsubscribe rose_forum
*
*************************************************************************
************************************************************************
* Rose Forum is a public venue for ideas and discussions.
* For technical support, visit http://www.rational.com/support
*
* Admin.Subscription Requests: [EMAIL PROTECTED]
* Archive of messages:
http://www.rational.com/support/usergroups/rose/rose_forum.jsp
* Other Requests: [EMAIL PROTECTED]
*
* To unsubscribe from the list, please send email
*
* To: [EMAIL PROTECTED]
* Subject:<BLANK>
* Body: unsubscribe rose_forum
*
*************************************************************************

************************************************************************
* Rose Forum is a public venue for ideas and discussions.
* For technical support, visit http://www.rational.com/support
*
* Admin.Subscription Requests: [EMAIL PROTECTED]
* Archive of messages: http://www.rational.com/support/usergroups/rose/rose_forum.jsp
* Other Requests: [EMAIL PROTECTED]
*
* To unsubscribe from the list, please send email
*
* To: [EMAIL PROTECTED]
* Subject:<BLANK>
* Body: unsubscribe rose_forum
*
*************************************************************************

Reply via email to