Remix.run Logo
gr4vityWall 3 hours ago

The author would probably find joy in using Zig.

Personally my biggest complain from Rust is that I wish it was more readable. I've seen function signatures that seemed straight out of C++.

nicce 3 hours ago | parent [-]

> Personally my biggest complain from Rust is that I wish it was more readable. I've seen function signatures that seemed straight out of C++.

There is always a trade-off. You really cannot provide enough information for the compiler without the current signatures. There is a certain point where you cannot compress the information without losing some features.

cogman10 3 hours ago | parent [-]

It's always an option to create type aliases, but there's a bit of "robbing Peter to pay Paul" happening when you do that.

You make the signature shorter but also take away the ability for the programmer to quickly understand what code is doing.