# Unlock Existential Types for All Protocols

**URL:** <https://forums.swift.org/t/unlock-existential-types-for-all-protocols/40665>\
**Category:** Pitches\
**Tags:** associatedtype, protocol, existential\
**Created:** [September 26, 2020, 8:52pm UTC](https://forums.swift.org/t/unlock-existential-types-for-all-protocols/40665 "2020-09-26T20:52:15Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![xAlien95](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/xalien95/32/12558_2.png) [@xAlien95](https://forums.swift.org/u/xAlien95)\
**Post date:** [September 27, 2020, 8:17am UTC](https://forums.swift.org/t/unlock-existential-types-for-all-protocols/40665/5 "2020-09-27T08:17:52Z")

</div>

Given the Swift goal to promote clarity over brevity, I would prefer having to explicitly mark existentials (at least for protocols having 'Self' or associated type requirements, PATs) with `any Protocol` instead of simply using `Protocol`.  
Whenever a PAT is placed as an existential, the compiler would let the user choose which fix-it to apply: either using a generic or explicitly marking the protocol as existential with `any`.

The benefits of having explicit existentials are available in the **Clarifiying existential types** section of [Improving the UI of generics](https://forums.swift.org/t/improving-the-ui-of-generics/22814#heading--clarifying-existentials).

---

_[View the full topic](https://forums.swift.org/t/unlock-existential-types-for-all-protocols/40665)._
