- What do you want to achieve? Keep it simple and clear!
So some days ago i decided i wanted to learn weak tables. My only problem is that i cant really see any use for them?
- What is the issue? Include screenshots / videos if possible!
Whats their use? i know that you use __mode to make a tables keys/values weak. But why would i even need to do that when i could just set them to nil?. Any help explainin an ACTUAL use case for them would be pretty cool because im hella confused why theyre so “useful”.
- What solutions have you tried so far? Did you look for solutions on the Developer Hub?
Yes. ive done some research but i sitll dont understand why you would use them inside your code. They just seem like a more advanced way of setting keys to nil/removing values
Again. Like i said anyone who can explain an actual use case for them inside a game would be really helfpul and cool !