Learn Type-Driven Development

Benefit from type systems to build reliable and safe applications using ReasonML 3



Bookstore > Books > Learn Type-Driven Development

Price$34.99 - $42.36
Rating
AuthorsYawar Amin, Kamon Ayeva
PublisherPackt Publishing
Published2018
Pages180
LanguageEnglish
FormatPaper book / ebook (PDF)
ISBN-101788838017
ISBN-139781788838016
EBook Hardcover Paperback

Type-driven development is an approach that uses a static type system to achieve results including safety and efficiency. Types are used to express relationships and other assumptions directly in the code, and these assumptions are enforced by the compiler before the code is run. Learn Type-Driven Development covers how to use these type systems to check the logical consistency of your code.

This book begins with the basic idea behind type-driven development. You'll learn about values (or terms) and how they contrast with types. As you progress through the chapters, you'll cover how to combine types and values inside modules and build structured types out of simpler ones. You'll then understand how to express choices or alternatives directly in the type system using variants, polymorphic variants, and generalized algebraic data types. You'll also get to grips with sum types, build sophisticated data types from generics, and explore functions that express change in the types of values. In the concluding chapters, you'll cover advanced techniques for code reuse, such as parametric polymorphism and subtyping.

By end of this book, you will have learned how to iterate through a type-driven process of solving coding problems using static types, together with dynamic behavior, to obtain more safety and speed.


  1. (2 books)



Similar Books


Type-Driven Development with Idris

Type-Driven Development with Idris

by Edwin Brady

Stop fighting type errors! Type-driven development is an approach to coding that embraces types as the foundation of your code - essentially as built-in documentation your compiler can use to check data relationships and other assumptions. With this approach, you can define specifications early in development and write code that's easy to...

Price:  $40.27  |  Publisher:  Manning  |  Release:  2017

AngularJS Test-driven Development

AngularJS Test-driven Development

by Tim Chaplin

Starting with reviewing the test-driven development (TDD) life cycle, you will learn how Karma and Protractor make your life easier while running JavaScript unit tests. You will learn how Protractor is different from Selenium and how to test it entirely. This book is a walk-through to using TDD to build an AngularJS application containing...

Price:  $17.99  |  Publisher:  Packt Publishing  |  Release:  2015

Learning Behavior-driven Development with JavaScript

Learning Behavior-driven Development with JavaScript

by Enrique Amodeo

JavaScript is not only widely used to create attractive user interfaces for the Web, but with the advent of Node.js, it is also becoming a very popular and powerful language to write server-side applications. Using behavior-driven development and some common testing patterns and best practices, you will be able to avoid these traps.This b...

Price:  $29.99  |  Publisher:  Packt Publishing  |  Release:  2015

Test-Driven JavaScript Development

Test-Driven JavaScript Development

by Ravi Kumar Gupta, Hetal Prajapati, Harmeet Singh

Initially, all processing used to happen on the server-side and simple output was the response to web browsers. Nowadays, there are so many JavaScript frameworks and libraries created that help readers to create charts, animations, simulations, and so on. By the time a project finishes or reaches a stable state, so much JavaScript code ha...

Price:  $31.99  |  Publisher:  Packt Publishing  |  Release:  2015

Test-Driven Infrastructure with Chef

Test-Driven Infrastructure with Chef

by Stephen Nelson-Smith

Test-Driven Infrastructure with Chef demonstrates a radical approach to developing web infrastructure that combines the powerful Chef configuration management framework with Cucumber, the leading Behavior-driven development (BDD) tool. Learn how to deliver real business value by developing infrastructure code test-first.Infrastructure con...

Price:  $25.26  |  Publisher:  O'Reilly Media  |  Release:  2011

Instant RSpec Test-Driven Development How-to

Instant RSpec Test-Driven Development How-to

by Charles Feduke

RSpec is a behaviour driven development framework for Ruby programmers. It comes integrated with its own mocking framework based on Jmock. This book introduces you to RSpec helping you to write idiomatic specifications for Ruby code in a test first approach.Instant RSpec Test-Driven Development How-to is filled with examples of actual cod...

Price:  $14.99  |  Publisher:  Packt Publishing  |  Release:  2013

Model-Driven Development with Executable UML

Model-Driven Development with Executable UML

by Dragan Milicev

A comprehensive reference for an executable UML and the advantages of modeling This book presents the most up-to-date technology for rapidly developing information systems using the object-oriented paradigm and models, and establishes an executable profile of UML for such model-driven development. As a software developer, architect, or an...

Price:  $102.18  |  Publisher:  Wrox  |  Release:  2009

Test-Driven Development with Python

Test-Driven Development with Python

by Harry J.W. Percival

By taking you through the development of a real web application from beginning to end, this hands-on guide demonstrates the practical advantages of test-driven development (TDD) with Python. You'll learn how to write and run tests before building each part of your app, and then develop the minimum amount of code required to pass those tes...

Price:  $12.17  |  Publisher:  O'Reilly Media  |  Release:  2014