Why is switch case optional binding syntax the way it is?
|
|
2
|
342
|
July 25, 2023
|
Evolution idea: implicit return in single-line switch cases
|
|
10
|
3711
|
January 21, 2023
|
An alternative to the switch statement
|
|
16
|
2225
|
October 9, 2022
|
Implicit Binding of Associated Values in Case Statements
|
|
4
|
613
|
January 6, 2022
|
Definition of "exhaustive" for switch statements?
|
|
18
|
4917
|
July 1, 2021
|
Swift optional unwrap string tuple
|
|
1
|
981
|
June 10, 2021
|
[Idea] Switch without subject
|
|
3
|
1149
|
June 1, 2021
|
Switch crashes when a case has an IndexSet as associated value
|
|
6
|
697
|
May 3, 2021
|
Idea: Introduce 'generic-case' to refine pattern matching of enums with associated values
|
|
0
|
1091
|
March 24, 2021
|
Cursed fallthrough pattern
|
|
3
|
543
|
October 9, 2020
|
What's the harm in not knowing that a switch statement's pattern-matching order is undefined?
|
|
4
|
1000
|
April 13, 2020
|
Are `switch` statements over `String` ever optimized to a hash table lookup?
|
|
2
|
1292
|
January 28, 2020
|
Swift's SWITCH indenting is driving me mad... any way to fix this?!
|
|
19
|
6880
|
August 5, 2019
|
Resume Pattern Matching in Switch Statements
|
|
25
|
3530
|
June 12, 2019
|
Should switch on UInt type be exhaustive for negative numbers?
|
|
5
|
1116
|
May 4, 2019
|