Skip to content

Rewrite parts of stdlib where optval could be used #524

Closed
@Carltoffel

Description

@Carltoffel

While exploring the stdlib I discovered the optval function and shortly after a routine which could have made use of it but it doesn't. Should we search for such optional arguments and replace the if-else-blocks with the optval-function?
If there are no other plans which would interfere with this, I think this should be done because it shortens the code which makes the code easier to understand.

If I find time to build the stdlib I could do the job and open a PR. Please tell me if I have to keep something in mind, otherwise I will just try it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    refactoringInternal change for better maintainablility

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions