Jump to content

Why is it good practice to make everything private?


Guest

Recommended Posts

I know it helps make the program more secure and simplifies the interface as much as possible, but how?

How does making everything private make the program more secure? Is it related to reverse engineering?

Help a noob out lol

Link to comment
Share on other sites

5 minutes ago, Noidlox said:

I know it helps make the program more secure and simplifies the interface as much as possible, but how?

How does making everything private make the program more secure? Is it related to reverse engineering?

Help a noob out lol

https://en.wikipedia.org/wiki/Encapsulation_(computer_programming)

Link to comment
Share on other sites

3 hours ago, Lucki said:

If u forget to open a private window you run the risk of another user using your device and seeing all of the dirty websites you visit.

eli5 done right lol

5 hours ago, Eagle Scripts said:

Have a google on the concept and benefits of OOP (Object Oriented Programming) :)

Off the top of my head, I know that code reuse-ability is one of them

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...