# Seq vs List: which should I choose?

**URL:** <https://users.scala-lang.org/t/seq-vs-list-which-should-i-choose/5412>\
**Category:** Question\
**Created:** [December 4, 2019, 4:11pm UTC](https://users.scala-lang.org/t/seq-vs-list-which-should-i-choose/5412 "2019-12-04T16:11:43Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![tpolecat](https://users.scala-lang.org/user_avatar/users.scala-lang.org/tpolecat/32/49_2.png) [@tpolecat](https://users.scala-lang.org/u/tpolecat)\
**Post date:** [December 4, 2019, 7:20pm UTC](https://users.scala-lang.org/t/seq-vs-list-which-should-i-choose/5412/10 "2019-12-04T19:20:00Z")

</div>

For data types I almost always use `List`. If I know I’m going to be doing a lot of concatenation I’ll use `cats.data.Chain`. I find that I basically never need to do indexing, but if I did I would probably use `Vector`.

In method signatures where I just need something I can map over I’ll use `F[_]: Functor`; or if I need to combine the contents I’ll use `F[_]: Foldable`; or if I need to compute an effectful value over the elements I’ll use `F[_]: Traverse`, and so on (these abstractions are from Cats). I don’t find the superclass-based abstractions like `Seq` to be a meaningful enough to be useful.

---

_[View the full topic](https://users.scala-lang.org/t/seq-vs-list-which-should-i-choose/5412)._
