Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Encapsulation - Principles of Object Oriented Design

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
8,829
Loading...
Alert icon
Sign in or sign up now!
Alert icon
There is no Interactive Transcript.

Uploaded by on Jan 21, 2010

A brief introduction to the principle of encapsulation in object oriented software. Without encapsulation, all of the code has access to all of the data. This creates three problems. You have to check all of the code to find the cause of an incorrect data value, you cannot change the data structure without checking all of the code to find out what will be affected; and you cannot re-use the code because it is built around the whole data structure.

Category:

Education

Tags:

License:

Standard YouTube License

  • likes, 1 dislikes

Link to this comment:

Share to:

Uploader Comments (AgileJStructureViews)

  • Good summary. But lacking some visual representation so the viewer can follow what your talking about visually. Breaking it down a bit and showing pieces of code would be a very good idea.

  • @sikhzrule I know what you mean. I am surprised that this is one of the more popular views since all I did was stand there and talk. On other videos I did make an effort to give visual explanations too but they take more time to put together.

  • nice video, gave me a good understanding as to why you would use encapsulation in only 3:25 minutes, which i found other tutorials and vids didnt have.

    a small code example would of been sweet though

  • @nut315 Thanks for your comment. Good point. I'll probably do a follow video with some examples.

Top Comments

  • Thx hun

  • Awesome, thanks, you summed it up well...

see all

All Comments (9)

Sign In or Sign Up now to post a comment!
  • Thank you very much! You helped me greatly :)

  • they call me a dreamer but it worked with this lecture b/c I was using my talent visualize the representation. :-))

  • Thank you. Very helpful and kept it brief.

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more