Skip to content

Translate help? #8

@james-smith-za

Description

@james-smith-za

I think it should be fairly straightforward enough to translate the help function as well:

def hulp(obj):
    """Wrap the built in help function with an Afrikaans name."""
    help(obj)

There may be something that I'm unaware of, perhaps that help is a reserved word and there might be edge cases where this will break things, but I tried it on my machine and it worked, so I think it's something we can look into.

I the noun form in Afrikaans in the above example, but I'm not sure whether or not it should be a noun or a verb. The English is ambiguous. In general I like function names to be verbs (or at least start out with a verb) but for internal consistency with turtle where we are using function names like forward() instead of move_forwards() and left() instead of turn_left(), so perhaps it's better to use the noun form.

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