Fighting bit Rot with Types (Experience Report: Scala Collections)

Authors Martin Odersky, Adriaan Moors



PDF
Thumbnail PDF

File

LIPIcs.FSTTCS.2009.2338.pdf
  • Filesize: 306 kB
  • 25 pages

Document Identifiers

Author Details

Martin Odersky
Adriaan Moors

Cite As Get BibTex

Martin Odersky and Adriaan Moors. Fighting bit Rot with Types (Experience Report: Scala Collections). In IARCS Annual Conference on Foundations of Software Technology and Theoretical Computer Science. Leibniz International Proceedings in Informatics (LIPIcs), Volume 4, pp. 427-451, Schloss Dagstuhl – Leibniz-Zentrum für Informatik (2009) https://doi.org/10.4230/LIPIcs.FSTTCS.2009.2338

Abstract

We report on our experiences in redesigning Scala's collection
libraries, focussing on the role that type systems play in keeping
software architectures coherent over time.  Type systems can make 
software architecture more explicit but, if they are too weak, can
also cause code duplication. We show that code duplication can be
avoided using two of Scala's type constructions: higher-kinded types
and implicit parameters and conversions.

Subject Classification

Keywords
  • Programming languages
  • scala
  • avoiding code duplication
  • higher-order kinds
  • type systems
  • polymorphism
  • collections library

Metrics

  • Access Statistics
  • Total Accesses (updated on a weekly basis)
    0
    PDF Downloads
Questions / Remarks / Feedback
X

Feedback for Dagstuhl Publishing


Thanks for your feedback!

Feedback submitted

Could not send message

Please try again later or send an E-mail