Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
Evaluating Clojure Spec
Linköping University, Department of Computer and Information Science, Software and Systems.
2017 (English)Independent thesis Advanced level (degree of Master (Two Years)), 20 credits / 30 HE creditsStudent thesisAlternative title
Utvärdering av Clojure Spec (Swedish)
Abstract [en]

The objective of this thesis is to evaluate whether or not Clojure Spec meets the goals it sets out to meet with regards to easy data validation, performance and automatically generated tests in comparison to existing specification systems in the Clojure ecosystem.

A specification for a real-world data format was implemented in the three currently popular specification systems used in Clojure. They were then compared on merits in terms of performance, code size and additional capabilities.

The results show that Spec shines with complex data, both in expressivity and validation performance, but has an API more complex than its competitors. For complex enough use cases where expressing regular data structures and generative testing is desired the time investment of learning Spec pays off, in simpler situations an assertions library like Truss can be recommended.

Place, publisher, year, edition, pages
2017. , p. 78
National Category
Computer and Information Sciences
Identifiers
URN: urn:nbn:se:liu:diva-142271ISRN: LIU-IDA/LITH-EX-A--17/043--SEOAI: oai:DiVA.org:liu-142271DiVA, id: diva2:1152262
Subject / course
Information Technology
Supervisors
Examiners
Available from: 2017-10-24 Created: 2017-10-24 Last updated: 2018-01-13Bibliographically approved

Open Access in DiVA

fulltext(943 kB)28 downloads
File information
File name FULLTEXT01.pdfFile size 943 kBChecksum SHA-512
5af8c81c2a94ae9e831c7f25ace7844ccabca61786c0b5af700e78e36a74e2c109df7ac7ab7916fd513adfde8225a6e09fab07afe9a1c25ba29cd487431f0955
Type fulltextMimetype application/pdf

Search in DiVA

By author/editor
Luckey, Christian
By organisation
Software and Systems
Computer and Information Sciences

Search outside of DiVA

GoogleGoogle Scholar
Total: 28 downloads
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

urn-nbn

Altmetric score

urn-nbn
Total: 131 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf