logoalt Hacker News

ozgrakkurtyesterday at 12:16 PM1 replyview on HN

For me it is the usage of macros and traits everywhere.

Good luck if you want to get into the code of a library to understand what a function does. You have to go through 3 macros and 5 traits across 5 files. When it could have been just a couple function calls.

People don’t stop and think if they really need that trait or macro for five seconds, they just have to use it every time


Replies

LtdJorgeyesterday at 4:44 PM

I dislike macros for that reason when reading code on GitHub or Docs.rs, but Rust was kind of made to be used with an IDE (or LSP).

show 1 reply