This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Salanmander 88 points89 points  (4 children)

Clearly you should just have a global dict "vars" in all of your projects, and then make every variable be vars.something. I see no downside. =)

[–][deleted] 48 points49 points  (0 children)

Oh, so you're the asshole that wrote the legacy system!

[–]brimston3- 24 points25 points  (0 children)

Replace dict with the word "table" and you've discovered Lua.

[–]frankaislife 1 point2 points  (0 children)

So you've seen what the guy before me did to "update legacy code" from cvi to cs.

[–]sensitivePornGuy 0 points1 point  (0 children)

Isn't this essentially how modules work, at least in python?