Skip to content

Remove all global variables? #42

@decibel

Description

@decibel

Any objection to converting all variables to being local? That would make sourcing the file a lot safer.

At first glance, I think this would mostly amount to passing token to a bunch of functions as an argument, and having them echo it back, though maybe you know of a better way.

I guess the other option is to just declare it as local in parse() and leave it to be set and read by everything else as done today...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions