but mentioning the drawbacks of that kind of approach
to language design suddenly requires "scientific
studies demonstrating your points"?
Are you kidding me? That's exactly what I meant with
"Rust people are actively hostile toward input".
For what is worth, I only meant it in case of underscore, since underscore syntax has scientific proof it's more readable, if you are aware of a better or another study, please list them. Also I asked for examples.But here let me look at your complaints: 1) Not sure what you mean in this case, could you elaborate 2) Type casing is inconsitent. All types are CapitalCamelCase. Only special built-in literals are lower case. 3) Fair point, a bit subjective, but fair. I like the terse syntax tbh. 4) Well, String represents mutable and str represents immutable strings, which also double as string views. 5) Fair point, I prefer [] for generics, but again it still falls under subjective. 6/7) I'm unsure what you mean. [] is used for indexing arrays or slicing a piece of it. I think Python had something similar. If you have foo(x) that's always AFAIK calling function. foo[x] means it's calling index or slice operator on a foo. In either case it's taking a portion of foo. 7) see 6 8) That's actually a fairly good point. I think some kind of optional parameters or varargs were planned, but unsure of current situation 9) Not getting what you mean here? Whenever you add extensibility to language via macros or custom operators, you get weird language DSLs that are incomprehensible. At least putting macro_name! tells you next part is DSL and what's its name is, so you can look it up. 10) Fucking up generics? What? 11) Not sure what your point is? Rust doesn't have objects. It has structs and it has traits. Modules are merely way to organize code. I think you are probably referring to OCaml like modules/objects, but unsure what. 12) Fair point. I'm unsure what alternatives you have in mind? Using URLs? |