Rarity

Rarity

17M Downloads

Addon core has reached the limit of local variables

rdw-software opened this issue ยท 1 comments

commented

There are lots of entries that can be moved elsewhere. Shared globals, constants, etc... Working with it has quickly become a pain, as every new change must be added in a do...end block or it will give an error.

Also, it's not the best style... but yeah. Legacy code problems.

commented

Mostly done in f13c918. There's lots to do still, but it will be much easier to tackle this in smaller, frequent refactoring passes.

The core is down to 800 LOC with mostly obsolete declarations, from 6000. It'll have to do, for now.