patterns
patterns copied to clipboard
[WIP] Japanese Translation
Thank you for this great book. As a native Japanese speaker, I’m starting to work on a Japanese translation to make this resource more accessible to the Japanese Rust community.
This PR is a work in progress.
TODO
- [x] 1. Introduction
- [ ] 2. Idioms
- [x] 2.1. Use borrowed types for arguments
- [x] 2.2. Concatenating Strings with format!
- [x] 2.3. Constructor
- [x] 2.4. The Default Trait
- [x] 2.5. Collections Are Smart Pointers
- [x] 2.6. Finalisation in Destructors
- [x] 2.7. mem::{take(), replace()}
- [x] 2.8. On-Stack Dynamic Dispatch
- [ ] 2.9. Foreign function interface (FFI)
- [x] 2.9.1. Idiomatic Errors
- [x] 2.9.2. Accepting Strings
- [ ] 2.9.3. Passing Strings
- [ ] 2.10. Iterating over an Option
- [ ] 2.11. Pass Variables to Closure
- [ ] 2.12. Privacy For Extensibility
- [ ] 2.13. Easy doc initialization
- [ ] 2.14. Temporary mutability
- [ ] 2.15. Return consumed arg on error
- [ ] 3. Design Patterns
- [ ] 4. Anti-patterns
- [ ] 5. Functional Programming
- [ ] 6. Additional Resources
converted to draft while it's in progress 👍