OpenJDK company blog
JEP 325: Switch Expressions
Extend the switch statement so that it can be used as either a statement or an expression, and that both forms can use either a "traditional" or "simplified" scoping and control flow behavior. These changes will simplify everyday coding, and also prepare the way for the use of pattern matching (JEP 305) in switch …
- Points
- 111
- HN comments
- 75
- Submissions
- 1
- Cited by
- 3 commenters
Programming LanguagesSoftware Engineering2018
On Hacker News
| Submitted | Title on HN | Points | Comments |
|---|---|---|---|
| Jan 19, 2018 | JEP 325: Switch Expressions by jcdavis | 111 | 75 |
Cited in comments
Linked from 3 Hacker News comments by 3 different people, from Sep 2018 to Feb 2019.
Most recent:
- pron · Feb 15, 2019
- hocuspocus · Dec 22, 2018
- carey · Sep 26, 2018