Learn Type-Driven Development: Benefit from type systems to build reliable and safe applications using ReasonML 3
Lingua: inglese
Editore: Packt Publishing Limited, 2018
- Brossura
- Nuovo

Da: THE SAINT BOOKSTORE, Southport, Regno UnitoTHE SAINT BOOKSTORE
Venditore AbeBooks dal 14 giugno 2006
Condizione: Nuovo
EUR 49,49
Quantità: Più di 20 disponibili
Aggiungi al carrelloDescrizione dell’articolo da parte del venditore
This item is printed on demand. New copy - Usually dispatched within 5-9 working days.
Codice articolo C9781788838016
- Titolo
- Learn Type-Driven Development: Benefit from type systems to build reliable and safe applications using ReasonML 3
- Autore
- Yawar Amin
- Editore
- Packt Publishing Limited
- Anno di pubblicazione
- 2018
- Condizione
- New
- Rilegatura
- Paperback / softback
- Lingua
- inglese
- ISBN 10
- 1788838017
- ISBN 13
- 9781788838016
- Peso dell'articolo
- 526 grammi
A fast paced guide for JavaScript developers for writing safe, fast, and reusable code by leveraging ResaonML's strong static type system
Key Features
- Reduce code errors with the power of type systems
- Employ static typechecking and genericity to promote code reuse and consistency
- Understand functional programming which is the foundation of type-driven development
Book Description
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.
What you will learn
- Use static types to capture information, making programs safer and faster
- Learn ReasonML from experienced type-driven developers
- Enhance safety by simply using basic types
- Understand the most important type-driven concepts with simple examples
- Explore a design space using static typing and find the best way to express your system rules
- Use static types and dynamic runtime in harmony to write even safer and faster code
Who this book is for
If you're a programmer working with dynamically typed languages and are looking for ways to mitigate production runtime errors, Learn Type-Driven Development is for you. You'll also find this book helpful if you're a programmer working with statically typed languages looking for increased safety and improved performance.
Table of Contents
- Start Type-Driven Development
- Program with types and values
- Package types and values together
- Group values together in types
- Put alternative values in types
- Make types that can 'slot in' any other type
- " Make types that represent operations"
- "Reuse code with many different types"
- "Extend types with new behavior"
- "Bring it all together"
"Riassunto" può appartenere a un’altra edizione di questo titolo.
THE SAINT BOOKSTORE
Southport, Regno Unito
Venditore AbeBooks dal 14 giugno 2006
Tariffe di spedizione da Regno Unito a U.S.A.
| Articolo | Da 7 a 28 giorni lavorativi | Da 7 a 28 giorni lavorativi |
|---|---|---|
| Primo articolo | EUR 18,63 | EUR 20,96 |
Metodi di pagamento
Descrizione dello Store
The Saint Bookstore has a range of over 1 million titles available.
Specializzazione
GeneralInformazioni sull’azienda del venditore
SB ONLINE LTD
50 Devonshire Road
Southport, Regno Unito PR9 7BZ
Condizioni di vendita
Please order through the Abebooks checkout. We only take orders through Abebooks - We don't take direct orders by email or phone.
Refunds or Returns: A full refund of the purchase price will be given if returned within 30 days in undamaged condition.
As a seller on abebooks we adhere to the terms explained at http://www.abebooks.co.uk/docs/HelpCentral/buyerIndex.shtml - if you require further assistance please email us at orders@thesaintbookstore.co.uk
Diritto di recesso
Se sei un consumatore puoi recedere dal contratto in conformità con quanto segue. Per Consumatore si intende qualsiasi persona fisica che agisce per scopi estranei alla propria attività commerciale, imprenditoriale, artigianale o professionale.
Informazioni sul diritto di recesso
Diritto legale di recesso
Hai il diritto di recedere dal presente contratto entro 14 giorni senza fornire alcuna motivazione.
Il periodo di recesso scade dopo 14 giorni dal giorno in cui tu o una terza parte, diversa dal vettore e da te indicata, acquisisce il possesso fisico dell'ultimo bene o dell'ultimo lotto o pezzo.
Per esercitare il diritto di recesso, compila e invia elettronicamente una dichiarazione esplicita sul nostro sito Web, alla voce “I miei acquisti” nella sezione “Mio account”. Ti comunicheremo senza indugio una conferma di ricezione di tale recesso su un supporto durevole (ad es. via e-mail).
Per rispettare il termine di recesso, è sufficiente inviare la comunicazione relativa all'esercizio del diritto di recesso prima della scadenza del periodo di recesso stesso.
Effetti del recesso
In caso di recesso dal presente contratto, ti rimborseremo tutti i pagamenti ricevuti, compresi i costi di spedizione (ad eccezione dei costi supplementari derivanti dalla tua eventuale scelta di un tipo di spedizione diverso dal tipo meno costoso di consegna standard da noi offerto).
Potremo effettuare una detrazione dal rimborso per la perdita di valore dei beni forniti, qualora tale perdita sia il risultato di una manipolazione non necessaria da parte tua.
Eseguiremo il rimborso senza indebito ritardo e non oltre 14 giorni dal giorno in cui saremo informati della tua decisione di recedere dal presente contratto.
Il rimborso sarà effettuato utilizzando lo stesso mezzo di pagamento da te usato per la transazione iniziale, salvo che tu non abbia espressamente concordato altrimenti; in ogni caso, non dovrai sostenere alcun costo quale conseguenza di tale rimborso.
Possiamo trattenere il rimborso finché non avremo ricevuto i beni oppure finché non avrai fornito la prova di averli rispediti, a seconda di quale condizione si verifichi per prima.
Dovrai rispedire i beni o consegnarli a THE SAINT BOOKSTORE, Southport, United Kingdom, senza indebito ritardo e, in ogni caso, entro 14 giorni dal giorno in cui ci hai comunicato la tua volontà di recedere dal presente contratto. Il termine è rispettato se rispedisci i beni prima della scadenza del periodo di 14 giorni. I costi diretti della restituzione dei beni saranno a tuo carico. Sei responsabile solo della diminuzione del valore dei beni risultante da una manipolazione diversa da quella necessaria per stabilire la natura, le caratteristiche e il funzionamento dei beni stessi.
Eccezioni al diritto di recesso
Il diritto di recesso non si applica a:
- La fornitura di giornali, periodici o riviste ad eccezione dei contratti di abbonamento; e
- La fornitura di contenuto digitale non fornito su un supporto materiale (ad es. su un CD o DVD), se al momento dell'invio dell'ordine hai accettato l'inizio dell'esecuzione e hai riconosciuto che non avresti potuto recedere una volta iniziata l'esecuzione.
Condizioni di spedizione
Most orders usually ship within 1-3 business days, but some can take up to 7 days.