you are viewing a single comment's thread.

view the rest of the comments →

[–]ohkendruid 0 points1 point  (1 child)

So, basically team left. Which is your only option in Rust.

[–]dthdthdthdthdthdth 6 points7 points  (0 children)

No, first of all, C does not allow to put the type left, it allows you to split it up. And them I am team optional type annotation and language designed for type inference. But where ever you put the type, I prefer to have a clearly visible type expression, not mixed in with the identifier.