←back to thread

155 points samuell | 1 comments | | HN request time: 0.209s | source
Show context
darksaints ◴[] No.44747981[source]
I remember back when Rust was still in so much flux that there were regular discussions about syntax, and there was a proposal very similar to the syntax of carbon: square brackets for generics and type annotations, parens for indexing, etc. It was basically turned down because they wanted to win over C++ devs. I still wish it was the favored outcome...it looks so much cleaner and less jarring.
replies(2): >>44748558 #>>44748679 #
1. gpderetta ◴[] No.44748679[source]
The joke is that no* c++ dev actually likes the bracket syntax for templates.

* I might be slightly exaggerating.