File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

modify or extend

 
tom mcmorrow
Ranch Hand
Posts: 39
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all
almost ready to upload assignment. however i feel my justification for modifying the data class is hardly conclusive and i could just as easily gone the other road and extended it. perhaps i have not enough experience with OO design. how did anyone out there who has gone through the process feel about their justification of this decision.
thanking you
 
Adam Roberts
Ranch Hand
Posts: 71
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here's what my thoughts are:
Extending the class would be done if the Data class needed methods overridden, not just if it needed new features. The deprecated methods *are* changed, but you dont really need to keep that code.
Again, you are correct in that its easy to go either way, personally I think the question is a little bit silly considering the other, much more important decisions that needed to be made
Hope that helps
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic