Hacker News new | ask | show | jobs
by stasomatic 1 day ago
It has an unfortunate name though, maybe a short shelf life. Rust++ doesn’t seem inviting either.
1 comments

Rust does not have a ++ operator, so that name would make no sense.
Not yet.
I can assure you that Rust will never have a ++ operator. Not only is it semantically bizarre, it's entirely unnecessary in a language where iteration is overwhelmingly performed via iterators rather than via manually incrementing array indices.
Is that a bullet point in the Rust manifesto? :) In any case, ++ has taken another meaning outside of operator loading and such some.

The “Rust” branding, to this rando, implies corrosion, oxidation, decay, regardless of the true origin of the name. Swift is “quick”, Java is “caffeine”, Rust is something I need kerosene for.

Yes, it is pretty universally agreed upon that a ++ operator in Rust doesn’t make any sense. += 1 is barely longer, not special cased, and does not make users memorize odd precedence rules.
Rust isn't named after what you think it is, but after fungi.