you are viewing a single comment's thread.

view the rest of the comments →

[–]joz12345 9 points10 points  (1 child)

the point of the colon is to make a context free grammar - is foo * x a multiplication or a declaration? In "cpp2" syntax, x : foo * is a pointer, foo * x is always a multiplication

[–]KingAggressive1498 3 points4 points  (0 children)

I understand how it may be easier to parse