# SE-0380: \`if\` and \`switch\` expressions

**URL:** <https://forums.swift.org/t/se-0380-if-and-switch-expressions/61899>\
**Category:** Proposal Reviews\
**Created:** [December 7, 2022, 5:47pm UTC](https://forums.swift.org/t/se-0380-if-and-switch-expressions/61899 "2022-12-07T17:47:41Z")\
**Posts on this page:** 1\
**Showing post:** 113

<div class="post-metadata">

**Author:** ![codename](https://avatars.discourse-cdn.com/v4/letter/c/fbc32d/32.png) [@codename](https://forums.swift.org/u/codename)\
**Post date:** [January 3, 2023, 8:11am UTC](https://forums.swift.org/t/se-0380-if-and-switch-expressions/61899/113 "2023-01-03T08:11:11Z")

</div>

> [@Evolution idea: implicit return in single-line switch cases](https://forums.swift.org/t/evolution-idea-implicit-return-in-single-line-switch-cases/59684/6):
>
> This is something I have wished for ever since implicit returns were introduced. However, I see it as purely a generalization of the current rules for implicit returns, to allow branching using control flow statements, rather than just treating control flow blocks as expressions universally. IOW I’m not a huge fan of things like using a switch on the right hand of an assignment expression (let result = switch value { … }), but I do wish I could use implicit returns in control flow as a general…

---

_[View the full topic](https://forums.swift.org/t/se-0380-if-and-switch-expressions/61899)._
