On Nov 12, 2013, at 12:15 PM, Tiffany Bennett <tiff...@stormbit.net> wrote:
> [.. a bunch of flamebait ..]

Sorry, not gonna bite.

I think there was one reply-worthy comment buried in there, perhaps a tacit 
request for remove-worthy syntax examples?

I can point out syntax that I don't like, but I think it'd be more productive 
to simultaneously offer alternatives, and I haven't studied Rust in enough 
depth to where I'd be comfortable doing that.

Here are some areas that caught my eye in the Doc-language-FAQ on Github. If I 
were to start using Rust, I'd research these in more depth to try and simplify 
the syntax:

1. ~[Option<Bucket<K,V>>]

2.  fn linear_map_with_capacity<K:Eq + Hash,V>(capacity: uint) -> LinearMap<K,V>

3.  fn contains_key(&self, k: &K)

My approach would be to try and get rid of templates through better type 
inference in the compiler. I'd introduce the common brace literal syntax for 
maps that can be found in JS and elsewhere, and perhaps additional literal 
syntax (ala ObjC + Clojure).

I'd also look at the symbols '~', '@', and '&', and see what could be done to 
remove or simplify those.

I'd look to see whether ARC could be used instead of garbage collection, and 
whether that would have an impact on syntax or not.

There's also the question of whether symbols (ala Lisp/Scheme/Clojure) could be 
useful in simplifying the language and making it more versatile.

Finally, if all else fails, I'd go for broke and S-expr the whole thing. :-p

- Greg

P.S. Accusing me of lying, and then misrepresenting what I said, is not going 
to take this conversation down a productive path. You'll probably just end up 
getting ignored (or worse).

--
Please do not email me anything that you are not comfortable also sharing with 
the NSA.

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

_______________________________________________
Rust-dev mailing list
Rust-dev@mozilla.org
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to