Yep use a little bit more deeply cascaded generic rust code with a lot of fancy trait-bounds and error messages will explode and be similar as C++ (though to be fair they are still likely way more helpful than C++ template based error messages). Really hope that the compiler/error devs will improve in this area
philm
joined 1 year ago
And yet, he's using the mouse and an Apple keyboard.
Where's mech-vim-hacker-typer-power?
The "best" way to program dynamically typed...
Ah the good old times with C, when things were much more simple (but unsafe...)
yeah as nice as it is what you can achieve with trait-bounds there are definitely trade-offs, being compile time and error messages, and sometimes mental complexity, understanding what the trait-bounds exactly mean... I really hope, that this area gets improvement on at least the error-messages and compile time (incremental cached type-checking via something like salsa)