Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Global Super Class (equivalent of java.lang.Object)

by InfiniteLoop (Hermit)
on Sep 26, 2006 at 15:30 UTC ( [id://574961]=note: print w/replies, xml ) Need Help??


in reply to Global Super Class (equivalent of java.lang.Object)

Greetings,
 Generally, over a period of time, you tend to abuse the root class. In my current project I see that we tend to "use" many modules, in the root class, that are not neccessary in most of the places, thereby increasing the memory.

  Although you could create a single root class (like Objective-C's NSObject), try to have specialized root classes (maybe a root class for all your UI's and one for your model classes) which would inherit from your single root class.
  • Comment on Re: Global Super Class (equivalent of java.lang.Object)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://574961]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (6)
As of 2024-04-23 23:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found