Hacker News new | past | comments | ask | show | jobs | submit login

Next step rustc can generate python pretty printers itself? At the very least I hope some crate can do that with a build script eventually



It’s been shipping printers for a few years: https://github.com/rust-lang/rust/pull/72357

Though that “only” dates back to 2020 so people with experience older than that would have had a worse experience, and may have ended once bitten twice shy as a result never noticing the improvements.


No, I meant generate printers for custom types, not ship printers for stdlib types.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: