Skip to content

"internal" folder doesn't achieve it's desired objectives #31

Open
@michellehirsch

Description

@michellehirsch

The best practices recommend:

"Any supporting code should be put in an internal folder at the top level of the toolbox folder to make it clear that these functions are not intended for end users. If you have a lot of internal functions, consider creating subfolders to group them logically."

Since folder names don't show up in programmatic interfaces, there are no hints to an end user that functions in internal aren't meant for them. So I don't think this standard achieves the desired objective.

I would expect the recommendation to be to use a private folder so it is functionally off the path. For more complex toolboxes that need to call internal functions/classes from code in multiple folders, we could recommend +internal, or better yet, +arithmetic+internal.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions