# Does let work like const or constexpr?

**URL:** <https://forums.swift.org/t/does-let-work-like-const-or-constexpr/79681>\
**Category:** Using Swift\
**Created:** [May 5, 2025, 12:07pm UTC](https://forums.swift.org/t/does-let-work-like-const-or-constexpr/79681 "2025-05-05T12:07:11Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Douglas\_Gregor](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/douglas_gregor/32/1362_2.png) [@Douglas\_Gregor](https://forums.swift.org/u/Douglas_Gregor)\
**Post date:** [May 5, 2025, 6:12pm UTC](https://forums.swift.org/t/does-let-work-like-const-or-constexpr/79681/4 "2025-05-05T18:12:02Z")

</div>

There have been updates from those authors very recently: [Compile-Time Values and Integer Generics](https://forums.swift.org/t/compile-time-values-and-integer-generics/79342)

Doug

---

_[View the full topic](https://forums.swift.org/t/does-let-work-like-const-or-constexpr/79681)._
