News for hackers. Stuff that matters.
Re:C-for-all: Extending C with modern safety and productivit... by wwright on Wednesday December 04, 2019 @07:01AM (#21701452)
What part of Rust’s syntax do you think is a detriment vs C? A lot of it is very similar to C, but with ambiguity removed.

- Variable types are changed to avoid ambiguity in lexing.

- Loops and conditionals require {}, which means the parentheses can be dropped on the condition and there’s no ambiguity about nested if’s and else’s.

What would you like improved?

There are no comments on this comment yet.