Skip to content

Rethink functions vs subroutines in Functions concept file #511

@geekygirlsarah

Description

@geekygirlsarah

Description

In some languages, the idea of a function (group of code given input that returns some output) and a subroutine (a callable block of code to do a task) are two different things. In others, they're the exact same thing (or are only differentiated by if you provide inputs or send outputs).

Several people that contribute to CT see "Call subroutines" as "Call a function", which may or may not be correct depending on the language.

This issue is to rethink what this file should use for this, and maybe to add "call function" and change subroutines to something like "define subroutine" and "call subroutine".

Implementation

If you think you have a good way to go about this, feel free to submit a pull request to modify /web/thesauruses/_meta/functions.json. Otherwise feel free to chime in on comments here to start thinking this through with me.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions