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

Oh I just put up a blog post about this on Monday :)

https://jacko.io/object_soup.html

Agreed that I wish more beginner Rust books had a section about this. The pattern is quite simple, but it's hard for beginners who get stuck to realize that they need it.




I would have needed this when I started learning Rust! All my early programs were object soups.




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

Search: