Skip to content

Functions and Methods/MultiplierWithOffset: unclear prompt #40

@SmedbergM

Description

@SmedbergM

The prompt for the fourth exercise in FunctionsAndMethods.scala (Functions as Data > What is a function) is unclear. The example given in task.md shows a class with a mandatory constructor parameter (which is what the test expects); however, the prompt instead mentions "an internal state offset", which is not the same thing (it suggests a private var instead).

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