News for hackers. Stuff that matters.
Re:Deriving Traits in Rust with Procedural Macros by shmerl on Thursday January 03, 2019 @02:00AM (#18813413)
Which doesn't make it easier, since you might want to structure part of you application code as a reusable library.
Re:Deriving Traits in Rust with Procedural Macros by atoav on Thursday January 03, 2019 @04:53AM (#18813989)
It is entirely optional. I use Rust for two years now and work on a few things (biggest one around 10kLOC). I didn’t even read the Macro section in my books yet. Because I didn’t need to.
Re:Deriving Traits in Rust with Procedural Macros by keldaris on Thursday January 03, 2019 @05:42AM (#18814199)
Most of the complexity of C++ is entirely optional too. That doesn't make the observation any less valid.