|
|
|
|
|
by int_19h
2685 days ago
|
|
It depends on your domain. Any data structure that has links in both directions becomes a pain, and it's pretty common to have trees like that. It's usually solved by having parents own the children but not vice versa, but then you run into cases where you want the whole thing to live so long as someone holds an owning reference to a child. |
|
But also, is a localized problem. I have more issues with obj-c in the past, some ergonomic of swift make it even rarer.
However, certainly suck for the ones that hit this!. I'm building a relational lang in rust and damm, I miss a GC!