I'll respond to that because there is a concrete benefit. For what it's worth, typescript, go, SML, haskell, and many other languages follow this pattern too.
In C, there's the "clockwise spiral rule"[0] to read a complex c declaration. Let's take an example from that:
void (*signal(int, void (*fp)(int)))(int);
In rust, that would be: fn signal(i: isize, fp: Fn(isize) -> ()) -> Fn(isize) -> ()
In rust, the clockwise spiral rule is more simply the "read left to right" rule, which follows more naturally for most people.For what it's worth, C++ also includes alternate function syntax [1], which matches rust's ordering of return values.
The reason it was added to C++ is because there were actual expressions the old syntax could not unambiguously express. Even to a machine the C-style declaration is more confusing.
With no offence meant, you're sounding a little blub[2]-ish in that complaint.
[0]: http://c-faq.com/decl/spiral.anderson.html
[1]: https://en.wikipedia.org/wiki/C++11#Alternative_function_syn...
What he did was essentially he discovered precedence rules for normal C expressions. That's all. https://news.ycombinator.com/item?id=22451431
And that point is pretty much a straw man, intentionally cherry-picked and obfuscated. The type signature in my signal(3) manpage is given as
typedef void (*sighandler_t)(int);
sighandler_t signal(int signum, sighandler_t handler);
And functions taking and returning function pointers are exceedingly rare. In practice I still find C type syntax the easiest to read (it's so concise, and in fact there is almost no type synax because it's just expressions). The valid argument for me why we should move away from that syntax is tooling - the syntax is hard to parse for machines (but not for humans) because it requires serial reading and complete preprocessing from the start of the file.Actually, the C, C++, Java, C# dynasty being the USA of programming languages seems quite fitting in terms of economics.