Skip to Content
Programming with Types
book

Programming with Types

by Vlad Riscutia
November 2019
Intermediate to advanced
336 pages
11h 30m
English
Manning Publications

Overview

Programming with Types teaches you to design safe, resilient, correct software that’s easy to maintain and understand by taking advantage of the power of strong type systems. Designed to provide practical, instantly useful techniques for working developers, this clearly written tutorial introduces you to using type systems to support everyday programming tasks.



About the Technology

Common bugs often result from mismatched data types. By precisely naming and controlling which data are allowable in a calculation, a strong type system can eliminate whole classes of errors and ensure data integrity throughout an application. As a developer, skillfully using types in your everyday practice leads to better code and saves time tracking down tricky data-related errors.



About the Book

Programming with Types teaches type-based techniques for writing software that’s safe, correct, easy to maintain, and practically self-documenting. Designed for working developers, this clearly written tutorial sticks with the practical benefits of type systems for everyday programming tasks. Following real-world examples coded in TypeScript, you’ll build your skills from primitive types up to more-advanced concepts like functors and monads.



What's Inside

  • Building data structures with primitive types, arrays, and references
  • How types affect functions, inheritance, and composition
  • Object-oriented programming with types
  • Applying generics and higher-kinded types


About the Reader

You’ll need experience with a mainstream programming language like TypeScript, Java, JavaScript, C#, or C++.



About the Author

Vlad Riscutia is a principal software engineer at Microsoft. He has headed up several major software projects and mentors up-and-coming software engineers.



Quotes
Well-presented, valuable knowledge on type systems, data structures, algorithms, and programming paradigms (functional and OO).
- Fred Heath, Faria Education Group

A triumph of types exploration, with concise examples of how types can make programs more robust and sound.
- Theo Despoudis, Teckro

Everything you need to know about types, from Booleans to monads. This book has you covered.
- Desmond Horsley, NSW Health Pathology

Finally, a book that fills the gap between theory and practice in type systems.
- Domingo Sebastián, Fundació Bit

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Functional Programming in C#

Functional Programming in C#

Enrico Buonanno
Programming C# 10

Programming C# 10

Ian Griffiths

Publisher Resources

ISBN: 9781617296413Publisher SupportPublisher Website