Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Often Overlooked OO Programming Guidelines

by Anonymous Monk
on Dec 29, 2003 at 21:20 UTC ( [id://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

Replies are listed 'Best First'.
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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://317555]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (4)
As of 2024-04-25 16:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found