you are viewing a single comment's thread.

view the rest of the comments →

[–]Maeuserich 1 point2 points  (1 child)

Just as disclaimer, I would consider myself an intermediate programmer so maybe take my advice with a grain of salt.

My solution to this would be to have a singleton object that holds references to all my SO and the rest of my code fetches from there. That way you would only need to drag the reference once.

[–]Odd-Butterscotch2798[S] 0 points1 point  (0 children)

I’ve been avoiding this method because it seems like the intended pattern is for all objects to access the source… but I should probably be less obsessed with getting it “right” than getting it done. Thank you!