Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Beginner's Object Orientation Exercises?

by buckaduck (Chaplain)
on Mar 18, 2002 at 18:29 UTC ( #152548=note: print w/replies, xml ) Need Help??


in reply to Beginner's Object Orientation Exercises?

I started out with something most people can relate to: different types of documents. You can create a generic Document class, and then a series of subclasses: Letter, Memo, SummaryReport, DetailedReport, Thesis, Resume, Timesheet, LetterOfComplaint, whatever.

In my case, I made the code handle a lot of formatting tricks, and produce output in a variety of formats.

Whatever you choose, I think the key is to make it something you might actually want to use. That's the only way you'll keep using it in the long run.

buckaduck

  • Comment on Re: Beginner's Object Orientation Exercises?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (4)
As of 2022-12-09 23:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?