Skip to content

[Discuss] Best-practice to prefer lists over arrays in any form #8

@qwwdfsad

Description

@qwwdfsad

This recommendation is a natural extension over "avoid varargs".

There are enough arguments for that (mutability, covariance, no compile-time safety).
The question is whether it is applicable enough to be included into API guidelines or should be a part of something like "Effective Kotlin 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