Pre-RFC: `=` for struct construction

Prior art: Similar syntax in C99

You specifically asserted in the other thread that "just because a language uses the syntax doesn't mean that it makes sense". Therefore I find it puzzling that you think "C does this" is a meaningful argument in favor of a wildly breaking change.

It's not exactly assigment though, or not necessarily. You can think of it as assignment, but the notion of a "key-value pair" or "name-value pair" is equally valid, in which case it's not better, it's worse than the status quo. Anyway, such a relatively minor difference in interpretation of a construct doesn't warrant, again, a massively painful change to a very fundamental part of the language. I think this is a very bad idea.

1 Like