General information
Category:
Object Oriented Programming
Michelle --
I was interested by your project -- it's non-trivial -- and offers an opportunity to do some real world OO design.
Have a good weekend!
Jay
>I was feeling pretty stupid, too, but I think it's more a matter of trying to learn too much too fast. I need to slow down and take this a step at a time. First, I need to get this project done. I'll do the best OOP I can. It may not be perfect, but it will be a start. I can improve from there.
>
>Thanks,
>
>Michelle
>
>
>>Well, I may be particularly dull. I wonder at times. But, I just know that I've expected to have developed skill in this sooner than I actually did. So, patience is a virtue in learning OO.
>>
>>Like you say, you do one thing at a time and build from there.
>>
>>I try to do utility routines in an object oriented fashion rather than procedural, for example. It takes a bit longer to write, at least at first. But, an OO approach does give some interesting and unanticipated side benefits. It's a lot easier to test, because the object is instantiated and you can play with it live rather than having to repath and invoke the procedure. The exposed properties means it's easier to modify the behavior than sending along a kazillion parameters to the routine. And, it's easy to do unit testing with the emphasis on small methods.
>>
>>I find that it's worth it <g>!
>>
>>Jay
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only