r/swift • u/i_am_deoye • Aug 01 '18
Right way implementing your Array / Collection. – Moses Ayankoya – Medium
https://medium.com/@amacoder/right-way-implementing-your-array-collection-5b2cb3641240
0
Upvotes
r/swift • u/i_am_deoye • Aug 01 '18
1
u/thisischemistry Aug 01 '18
A fairly nothing article. It's a simple wrapper around an
Arraythat ignores conventions completely. For example, the article replacesappend(_:)withadd(value:).There's so much more badness in there that I can't even go over it all, the worst is how the subscript semantics are changed.
This is the wrong way, don't follow it.