Skip to content

Koans might be more educational when inverted #264

Open
@briankung

Description

@briankung

Hi, just a thought because I'm halfway through the koans and I'm pretty sure that I have missed a lot of class (?) functions because I wasn't writing them. The asserts might be more educational when inverted, i.e. instead of:

assert Map.merge(%{first_name: "Jon"}, %{last_name: "Snow"}) == ___

it was:

assert %{first_name: "Jon", last_name: "Snow"} == Map.merge(___, ___)

Or something similar, so that when adding an answer, your eyes are drawn to the function being used.

Anyway, lovely resource, thanks for maintaining!

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