# Why doesn’t Julia offer built-in privacy/encapsulation features?

**URL:** <https://discourse.julialang.org/t/why-doesn-t-julia-offer-built-in-privacy-encapsulation-features/124666>\
**Category:** General Usage\
**Tags:** question, internals, encapsulation, privacy\
**Created:** [January 11, 2025, 9:36am UTC](https://discourse.julialang.org/t/why-doesn-t-julia-offer-built-in-privacy-encapsulation-features/124666 "2025-01-11T09:36:31Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![stevengj](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/stevengj/32/71_2.png) [@stevengj](https://discourse.julialang.org/u/stevengj)\
**Post date:** [January 11, 2025, 5:10pm UTC](https://discourse.julialang.org/t/why-doesn-t-julia-offer-built-in-privacy-encapsulation-features/124666/10 "2025-01-11T17:10:12Z")

</div>

> [@younes](#):
>
> So, is there a deeper reason why Julia can’t (or shouldn’t) offer **an opt-in privacy model**?

@StefanKarpinski’s post in a related thread may give some insight into the underlying philosophy: [Private states in Julia modules - #19 by StefanKarpinski](https://discourse.julialang.org/t/private-states-in-julia-modules/1312/19)

---

_[View the full topic](https://discourse.julialang.org/t/why-doesn-t-julia-offer-built-in-privacy-encapsulation-features/124666)._
