Skip to content
This repository was archived by the owner on Feb 16, 2019. It is now read-only.
This repository was archived by the owner on Feb 16, 2019. It is now read-only.

Allow a Track to define an exercise that is does not have a language-independent definition #22

@IanWhitney

Description

@IanWhitney

Over in Rust (exercism/rust#248) we are trying to add some supplemental exercises to Luhn. These are Rust specific and don't need files to exist in x-common.

@petertseng noted that this approach breaks Trackler. And, indeed, my goofing off in the console backs that up.

The issue here (as far as I can see) is that Problem expects there to be metadata and throws errors if there's not.

Is this a case we could solve with some NullObject pattern love? If I refactored the metadata method to return a NullMetadata instead of nil, could tracks then implement their own exercises without putting noise files in x-common?

Or is there complexity/design/etc. that I'm missing here?

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