Skip to content

Deprecate @SVector, @SMatrix, and SA[...] in favor of @SArray [...]? #1214

@hyrodium

Description

@hyrodium

The SA notation was introduced in #633, and @SArray macro exists from the beginning.
Both features have the same purpose: "Provide simple ways to construct SArray!".

I now think it would be nice to deprecate the methods other than @SArray.
Here's why:

Disadvantages with SA[...]

Disadvantages with @SVector and @SMatrix

  • @SArray is enough. No additional benefits.

Disadvantages with @SArray

  • @SArray [1,2,3] needs more keystrokes than SA[1,2,3]

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