To each their own, I suppose. I’ve yet to run into any real issues with needing to constantly change paths. I’d say it’s just part of the game. I’d more than happily trade a few seconds of renaming one or two variable paths for a huge bump in readability.
For example, if you ever rename or move something, you suddenly have so many paths to change it’s not even funny.
I’d say moving an element one parent away may as well be changing the entire path, as in, you’ll still have to go in and update it unless you’re using something like FindFirstDescendant
. Using this plugin or @SOTR654’s Path to instance plugin to quickly insert the path and then copy the bit I need only takes seconds. I know that I’m only in the programming stage because I’m confident that my gui is locked in. It’s been tested and known to perform the moment and actions I want by manually testing. Though mistakes happen and changing a path is the least of my worries.
Also like I said in my original post I don’t actually use the full path that it generates, but use parts of it and extend off other, more higher-level variable paths that I know will absolutely not change.
For context, this is what the screengui looks like with all those nested folders. It’s a somewhat complicated menu and it absolutely requires that many nested elements.
EDIT:
After re-reading your comment again I think I understand what you meant.
…by having components responsible for each level in the hierarchy, where each component is responsible for controlling its child components…
I think I’ve said it before but I don’t actually use the full path that this plugin generates, only snippets. This is what my variables usually look like (not necessarily in any order)
local TabletUI_Friends = player.PlayerGui:WaitForChild("TabletUI_Friends")
local LP = TabletUI_Friends.UseableSpace.Content.LeftPanel
local RP = TabletUI_Friends.UseableSpace.Content.RightPanel
So yes, it’s preferable to use what I’m going to call Variable Pillars that reference concrete, known-not-to-change paths. Wasn’t trying to contest that as a weaker practice than just outright referencing any element out in full. I just think its nice to press a key shortcut and automatically type the path to snippet so that I don’t develop carpal tunnel