Comment by ozgrakkurt

Comment by ozgrakkurt a day ago

2 replies

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

LtdJorge 21 hours ago

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).

  • bigstrat2003 18 hours ago

    That is poor practice IMO. The simple reality of the world is that not everyone uses such tools. Designing a language with the expectation they will is deliberately ignoring the needs of some users.