I look with interest to new languages but after so many years dealing with C, my parser crashes when I see the type after the variable name and at the end of functions declarations.
var x : u8 = 5;
What's wrong with "u8 x = 5;"?And I don't really like type inference very much (or when it's abused or cannot be avoided). What is "b"? Oh, I have to check what it's being casted from...
var a: u8 = 255;
var b = 1 + 2 + 3 - (4 + @as(i32, a));
What type is "b"? i32?Curious fact: the above code generates >40000 lines of assembly in godbolt: https://www.godbolt.org/z/fxfbb9jfn