Skip to content

New use for the identifier Array #145

Closed

Description

@bluss

Old type alias Array is deprecated.

Some shortlist candidates for new use are (A) ArrayBase becomes Array, (B) OwnedArray becomes Array, (C) A new trait is made and called Array.

Any suggestions welcome.

Activity

  1. jdroenner commented on Mar 13, 2016

    @jdroenner

    First i was going to vote for (C) but now i think option (A) is the best use for Array. A trait for something that is like an array could be called ArrayLike.

  2. bluss commented on Mar 13, 2016

    @bluss
    MemberAuthor

    Thanks for the input. I'm somehow hoping that using ArrayBase in client code can be avoided (and they stick to OwnedArray, ArrayView). But as usual I don't know enough yet 😄

  3. jdroenner commented on Mar 13, 2016

    @jdroenner

    So we would need a trait (Array) to work with generic arrays (OwnedArray or ArrayView) without ArrayBase in client code?
    Maybe Array could combine multiple specialized traits to allow implementing generic algorithms (similar to the approach of ImgLib2).

  4. bluss commented on Mar 13, 2016

    @bluss
    MemberAuthor

    or to be generic over something that does not exist yet, for example proposed masked arrays or arrays with various statically known properties

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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