Are any other @rustlang folks bothered by `Vec` over `Vector` but `Option` over `Opt`? (And a billion other things that are abbreviated that don't need to be)
-
-
I'm very ok with 'Option', maybe it should have a 'Maybe'
1 reply 0 retweets 0 likes -
Also the word 'vector' scares me as a non mathematics person lol
1 reply 0 retweets 0 likes -
Heh, it does have an unfortunate overlap with the math term. It's definitely the generally accepted term for "growable array" in CS (thought TBH I would probably prefer it to just be called `Array`)
1 reply 0 retweets 0 likes -
Array is much better, these things matter at first impressions, the first time I saw 'fn' I thought rust is not for me.
2 replies 0 retweets 0 likes -
Ironically `fn` over `function` is probably the only place I really prefer the short version (I guess 9 characters is where I draw the line?)
1 reply 0 retweets 1 like -
Go and MLs win here
1 reply 0 retweets 0 likes -
I guess for me (and this is just like my opinion man), function definitions are always syntax which is fundamental to the language and stand out by definition, so they more or less get to break the rules
1 reply 0 retweets 0 likes -
I guess part of it is also teaching. To learn just about any language, you *have* to learn what a function is. At that point you learn that `fn` (or `fun`) is short for it, and it becomes clear that it always stands for it. You don't *have* to learn what a Vector is
1 reply 0 retweets 0 likes -
You don't *have* to learn what a Box is what,but I think arrays, vectors,lists are a must
2 replies 0 retweets 0 likes
I think you definitely have to learn about "a list of arguments" (in the abstract, not specifically referring to a linked list or anything). Arrays and vectors are terms with specific meanings that don't apply everywhere though.
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.