| ▲ | ricardobeat 2 hours ago | |
I see JavaScript. Some of these really look like QoL improvements. I'm not convinced ternary statements are an ergonomic improvement in particular. The examples given don't make a compelling case, 'visually tidy' is not the same as readable. | ||
| ▲ | nine_k 2 hours ago | parent [-] | |
Worse, I see C (as in ! or &&), and Perl (as in manifestly more than one way to do it). There are real improvements though, such as ?. and ??= that help with default-nullable everything. Ternary is very useful, but it I'd rather see it implemented idiomatically:
Structural pattern-matching could be fantastic, but no syntax is suggested. | ||