Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • The hard balance between "the freedom of our lib users" and "less trouble to us". I am starting to believe that encapsulation is better in a sense that I will prevent bugs on my own coding, and I will help end users to prevent bugs too. But the lack of freedom may simply put them away also, looking for alternatives... May be coding not yet used but foreseen functionalities thru public methods can help on balancing that, but demands more time. Commented Jun 17, 2016 at 2:11
  • Too bad the refactored version isn't on github.... Commented Jan 19, 2018 at 11:42
  • Example that can be used against encapsulation. Encapsulation indeed is not needed to create a quality game. Commented Apr 16, 2024 at 6:06