Hacker News new | ask | show | jobs
by F-0X 2357 days ago
I think C has better syntax than Rust, by miles. Rust's syntax is the bastard child of C++ and OCaml and is more than the sum of its parts. Rust code having fewer bugs has absolutely nothing to do with its syntax.
3 comments

After 3 years Rust and 20 years of C, syntax of C and C-like languages (C++, Java) looks awkward to me, because in C I need to write more code to get uglier result.
I have coded C since 1984, and C++ since 1988. I found Rust syntax extremely easy to switch to, but I found switching back to C++ syntax extremely difficult.

Do not learn Rust if you think you might need to code C++ or C ever again.

Rust probably should have used "." in place of ";". Or anything, really.

I was replying to the sentence about choice of lang. not having much effect on the quality of software.