Skip to content

Exercise asks developer to write a function #2396

Open
@kotp

Description

@kotp

Having an exercise direct a student to write a function or write a
method or write "some specific structure" can be confusing when the
language they are solving the exercise in does not have that structure.

Where we say things like "Create a function" or "Write a function" we
could be indicating that we need a solution instead. This will
encourage the student to determine what that solution is,
rather than us telling them to specifically create a function.

Unless the exercise is a concept exercise about functions, of course,
then the student should be told to create a function.

The exercises that mention "create a function" are:

  • exercises/parallel-letter-frequency/description.md

And the exercises that mention "Write a function" are:

  • exercises/sublist/metadata.toml
  • exercises/flatten-array/description.md
  • exercises/nucleotide-codons/metadata.toml
  • exercises/nucleotide-codons/description.md
  • exercises/alphametics/metadata.toml
  • exercises/alphametics/description.md
  • exercises/go-counting/description.md
  • exercises/darts/description.md
  • exercises/darts/metadata.toml

ref: exercism/ruby#1638-comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions