# Dependent Types and Protocols

**URL:** <https://forums.swift.org/t/dependent-types-and-protocols/61854>\
**Category:** Discussion\
**Created:** [December 6, 2022, 1:02am UTC](https://forums.swift.org/t/dependent-types-and-protocols/61854 "2022-12-06T01:02:59Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Jeehut](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/jeehut/32/21743_2.png) [@Jeehut](https://forums.swift.org/u/Jeehut)\
**Post date:** [January 10, 2023, 12:53pm UTC](https://forums.swift.org/t/dependent-types-and-protocols/61854/2 "2023-01-10T12:53:21Z")

</div>

I'm not sure if I understand the advantage of what you are suggesting without more detailed examples. But I think the direction Swift is currently going is to enable more domain specific language which started with things like property wrappers and function builders, but now we're also getting [expression macros](https://forums.swift.org/t/se-0382-expression-macros/62090). Maybe those can (partly) solve what you are striving for?

Again, sorry if I misunderstood what you're trying to achieve here.

---

_[View the full topic](https://forums.swift.org/t/dependent-types-and-protocols/61854)._
