by pzixel · 7y ago · 0 comments
If you fight GC in Java then you have same troubles: all this stuff like weak pointers, byte array storages, reflection, etc, etc... If you are trying to write imperatively in haskell... And so on. If you fight language ideas, then your code becomes more complicated. The answer here is that you shouldn't have to do it often.
> 1. Do you often try to implement data structures like this?
Any self-referential data-structure has this problem. So I guess my answer would be "yes".