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

I'm not sure why the distinction for Box between a pointer and a struct with a single pointer in it matters. For all intents and purposes, aren't they the same thing?



At the binary level, yes, they're the same thing: a struct with one member is the same as just the member.

However, in the end, it's all just binary: that doesn't mean that using different phrasing doesn't help understanding. If it helps it make sense to the OP I'm all for it.




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

Search: