On May 17, 2011, at 8:54 AM, Noel Grandin wrote:
I notice that Rust seems to favour extreme brevity in it's choice of keywords 
e.g. "ret" "vec" "cont" "fn"

I ask because Rust aims to be a system programming language, and the current 
dominant system programming language is C/C++,
so it would make sense to me to pick keywords that align more closely with C to 
make transition easier.

+1 -- terseness is a virtue in a language, but this seems to be taking it to a 
bit of an extreme. I refuse to believe that the extra milliseconds saved by 
typing "fn" instead of "function" makes a difference in productivity, so I 
presume this choice is deliberate in that it is believed to *improve* 
readability? If so, may I gently offer a contrary opinion; words are more 
readable than abbreviations, and it's not clear (to me, anyway) that the 
shortened keywords meaningfully improve things. (OTOH I haven't read large 
swaths or Rust, so perhaps it does move the needle in real-world code...)
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to