[edit:] This was previously raised in detail by @kvark here.
In particular, this would preclude certain syntax proposals, impacting the following discussions:
I think this is a desirable trait for simplicity and explicitness of the language, and aside from numeric literals I think it has very little negative impact on authorability.
[edit:] This was previously raised in detail by @kvark here.
In particular, this would preclude certain syntax proposals, impacting the following discussions:
const x: vec3<f32> = {};, can have a syntax likeconst x = vec3<f32>();.const x: u32 = 1;, would useconst x = 1u;.const/var- they become simple type assertions, as there’s only one valid type annotation. It's even possible to remove them from the grammar (@jdashg proposed this before).I think this is a desirable trait for simplicity and explicitness of the language, and aside from numeric literals I think it has very little negative impact on authorability.