I wish Rust has a `debug!()` macro which just takes arguments like `console.log()`. Typing `println!("{:?} {:?}", foo, bar)` over and over makes for a poor experience :(
-
-
This is a crate waiting to happen. Now, if only it could auto implement the Display? trait too ;). A little codegen action
-
Was wondering about that: surely there must be a good reason why Debug isn't an auto-trait. Probably because it's not a marker, which means it has _some_ overhead?
End of conversation
New conversation -
-
-
I should do this! Not a big fan of println! rules.
-
Can also have two different debug! macros one for development, one for production which could even like asynchrounously send http call to log the text
- 2 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.