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
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)


4 5 12

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 ea...

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

Learning Test-Driven Development

Learning Test-Driven Development

by Saleem Siddiqui

Your code is a testament to your skills as a developer. No matter what language you use, code should be clean, elegant, and uncluttered. By using test-driven development (TDD), you'll write code that's easy to understand, retains its elegance, and works for months, even years, to come. With this indispensable guide, you'll ...

Price:  $53.16  |  Publisher:  O'Reilly Media  |  Release:  2021

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:  $49.61  |  Publisher:  Wrox  |  Release:  2009

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:  $29.99  |  Publisher:  Packt Publishing  |  Release:  2015

Lean-Agile Acceptance Test-Driven Development

Lean-Agile Acceptance Test-Driven Development

by Ken Pugh

Within the framework of Acceptance Test-Driven-Development (ATDD), customers, developers, and testers collaborate to create acceptance tests that thoroughly describe how software should work from the customer's viewpoint. By tightening the links between customers and agile teams, ATDD can significantly improve both software quality a...

Price:  $25.00  |  Publisher:  Addison-Wesley  |  Release:  2010

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:  $49.99  |  Publisher:  Packt Publishing  |  Release:  2015

Learning TypeScript

Learning TypeScript

by Josh Goldberg

TypeScript has conquered the world of JavaScript: it's one of the world's fastest growing and most popular languages across developer surveys, widely used in consumer and business companies alike, and frequently credited for helping massive web applications scale. But what is TypeScript? How does it work, why does it work, and h...

Price:  $34.99  |  Publisher:  O'Reilly Media  |  Release:  2022

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:  $39.99  |  Publisher:  Packt Publishing  |  Release:  2015