[DiscordArchive] hmm, but in your examples there the classname is nowhere as string, would that matter?
[DiscordArchive] hmm, but in your examples there the classname is nowhere as string, would that matter?
![[Image: unknown.png?ex=690c38a6&is=690ae726&hm=6...c31faf6a9&]](https://cdn.discordapp.com/attachments/448835144564867094/975819148582068274/unknown.png?ex=690c38a6&is=690ae726&hm=6eeb33f923ceb268c3cf87074f475d6ae7941046dcde86d1dc51c25c31faf6a9&)
Archived author: Foe • Posted: 2022-05-16T17:56:55.016000+00:00
Original source
![[Image: unknown.png?ex=690c38a6&is=690ae726&hm=6...c31faf6a9&]](https://cdn.discordapp.com/attachments/448835144564867094/975819148582068274/unknown.png?ex=690c38a6&is=690ae726&hm=6eeb33f923ceb268c3cf87074f475d6ae7941046dcde86d1dc51c25c31faf6a9&)
Archived author: Grandold • Posted: 2022-05-16T17:57:39.435000+00:00
Original source
okay, was starting to think is it even bad at all then to just have all the classes I got not declared as local then... wouldn't they be in _G['A'] and _G['B'] then too?
Archived author: Grandold • Posted: 2022-05-16T17:58:22.207000+00:00
Original source
like, if I can access k and v via that, is it at all worse to have the classes not local?
Archived author: Foe • Posted: 2022-05-16T17:59:04.536000+00:00
Original source
The main issue with using the global namespace is naming really, as long as you know you won't overwrite whatever is in there down the line and you keep your stuff in check, it doesn't matter much
Archived author: Grandold • Posted: 2022-05-16T18:00:04.858000+00:00
Original source
basicly I could just add one object there I guess and use "storage" inside that to make sure there is only one object directly on _G root level
Archived author: Foe • Posted: 2022-05-16T18:00:18.471000+00:00
Original source
yep
Archived author: Honey • Posted: 2022-05-16T18:00:22.701000+00:00
Original source
Archived author: Grandold • Posted: 2022-05-16T18:00:38.930000+00:00
Original source
someone was watching us ^^
Archived author: Honey • Posted: 2022-05-16T18:00:56.142000+00:00
Original source
Nah i Just caught Up
Archived author: Grandold • Posted: 2022-05-16T18:01:03.293000+00:00
Original source
but ye, just seems so weird to use stuff like that when in php u just add one $ x)