Hacker News new | ask | show | jobs
by saagarjha 2390 days ago
So you’re looking for Rust with C’s syntax?
1 comments

Would be a big improvement on Rust.
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?