What's a "dark pattern" company? I've never heard that term before.
let foo = if some_condition {
"condition is true"
} else {
"condition is false"
};
let bar = match x {
0 => "string",
1 => "another string",
_ => "default"
};
It's not super significant but I think it's an elegant syntactic feature.