3 ms·
I saw the C++ like syntax with std::stuff and stuff<T> and it turned me off.
by hasenj 15y ago
I saw the C++ like syntax with std::stuff and stuff<T> and it turned me off.
- loup-vaillant 15y agoI saw the ML like syntax with `let r = 42 { stuff };` and it turned me on. Frankly, your bits of syntax are no worse than `Std.stuff` and `'a stuff` (or `Stuff a`).
- pcwalton 15y agoSee my comment above for the stuff<T> issue. As for std::stuff, in earlier versions we wrote std.stuff, but it actually hurt readability (not to mention complicated typechecking), since '.' is also used for record field projection and object method invocation. In the MLs it's not so bad because module names have to begin with a capital letter, but we tried to avoid making case significant.