Skip to content

Return null values or throw exceptions in exercises? #360

Closed
@robkeim

Description

@robkeim

@ErikSchierboom @jpreese after seeing #353 and #359 I think we should agree on when we are going to have exercises return null values vs throw exceptions.

I'd like us to have some consistency and purpose in why we use the two. To simplify things we could move either all invalid input to null or to throw exceptions.

What do you guys think?

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