News for hackers. Stuff that matters.
Re:Fast Rust Builds by axelf4 on Sunday September 05, 2021 @02:08PM (#28426356)
Surely mixing usage of space and parentheses for function application is a bad idea?
Re:Fast Rust Builds by nextaccountic on Sunday September 05, 2021 @02:12PM (#28426386)
But I'm not talking about function application - I'm talking about type application.

The syntax of type application and function application is already different in rust: F<A, B> vs f(a, b).

Type application even has default and named parameters! F<X = A, Y = B> and F<A> if B has a default.

I just think this particular type-level syntax is very noisy, specially because types in Rust tend to be very nested.