Replies: 1 comment
-
Added in v1.3.0 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
vec: https://github.com/mcmah309/vec
Arguments For:
Vec
is just a typedef ofList
, so there is zero friction.List
/Vec
Vec
can help denote to the developer "This is growable", overList
which may not be.Vec
typedef.Arguments Against:
Vec
, it is included in the standard library.Arr
makes sense (an exension type ofList
that does not implement theList
interface, and is treated as a non-growable) since an equivalent toArr
does not exist in Dart,List
is literally equivalent toVec
.Vec
may be annoyed thatList
has some new methods that are equivalent to existing e.g.add
==push
.2 votes ·
Beta Was this translation helpful? Give feedback.
All reactions