5 ms·
Gee, with this few sigils remaining, Rust is going to have a very hard time finding widespread adoption, since it won't stand out from competing languages!
by ben0x539 13y ago
Gee, with this few sigils remaining, Rust is going to have a very hard time finding widespread adoption, since it won't stand out from competing languages!
- pcwalton 13y agoWe still have "fn". :)
- awj 13y ago..and since you're freeing up ~, you can now rename 'fn' to it. Rust criticism would drop to nearly zero, because everyone would focus in on your crazy function-defining-tilde and those people just don't get it.
- xiaq 13y agofn is my favorite keyword for function definition. "function" is too long. "def" doesn't say anything about functions (unless you read it as DEfine Function). "func" sounds too funny. "defun" always reads "defunct" to me. And just out of curiosity, where did the rust designers get the inspiration for "fn"? I know plan 9 rc and clojure have "fn". Or maybe it's independent invention?
- dbaupp 13y agoAnonymous functions in ML, possibly.
- pcwalton 13y agoWell, I slightly prefer "fun", but the Rust community pretty firmly favors "fn", and they're about the same anyway. As far as I know it came from ML.
- xiaq 13y ago"fun" is even funnier than "func"! ML etymology sounds pretty plausible (I didn't know ML uses fn) since I can see there is a strong influence of ML on Rust.
- e12e 13y agoSo that's what happened to Smalltalk and Lisp.