Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Often Overlooked OO Programming Guidelines

by Anonymous Monk
on Dec 29, 2003 at 21:20 UTC ( #317555=note: print w/ replies, xml ) Need Help??


in reply to Often Overlooked OO Programming Guidelines

If I might add one more observation: Don't think about classes (at all) when doing domain modelling! Classes are a structural element of the code not an element of the problem domain. Just think about the objects (what they need to do, what they need to know). Thinking 'classes' too early subverts object-oriented design into class-oriented design, and the result is highly stuctured code (often with deep hierarchies) that doesn't map well to the problem space.


Comment on Re: Often Overlooked OO Programming Guidelines
Re: Re: Often Overlooked OO Programming Guidelines
by Ovid (Cardinal) on Dec 29, 2003 at 23:35 UTC

    You know, that has to be one of the most intelligent comments I've heard about OO programming.

    Cheers,
    Ovid

    New address of my CGI Course.

Re: Re: Often Overlooked OO Programming Guidelines
by Roger (Parson) on Dec 29, 2003 at 23:45 UTC
    The purpose of programming. Roger seconds Ovid's comment.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (13)
As of 2014-10-20 13:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (76 votes), past polls